Snippets tagged operator overloading

  • Finding nearest airplane to a location

    Given a location as a float tuple (latitude, longitude) it will return the plane closest nearby as a JsonValue using the OpenSky API. For fun also demonstrating some operator overloading with (-->) between two coordinates. I'm new to these functional languages, so please feel free to update the solution with interesting refactortings and whatnot.

    3 people like this

    Posted: 2 months ago by Johan Irvall