Snippets tagged distance

  • 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.

    4 people like this

    Posted: 5 years ago by Johan Irvall