package telegraml

  1. Overview
  2. Docs
type location = {
  1. longitude : float;
  2. latitude : float;
}

Represents a location sent by a user in terms of longitude/latitude coordinates

val create : longitude:float -> latitude:float -> unit -> location

Create a location in a concise manner

Read a location out of some JSON

val read : Yojson.Safe.json -> location

Read a location out of some JSON

module Out : sig ... end

This module deals with outgoing location messages

OCaml

Innovation. Community. Security.