package oxbow

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Oxbow_core.DirectionSource

Sourcemodule Logical : sig ... end
Sourcemodule Spatial : sig ... end
Sourcetype t =
  1. | Logical of Logical.t
  2. | Spatial of Spatial.t
Sourceval to_string : t -> string

to_string d is the wrapped direction's string.

Sourceval of_string : string -> t option

of_string s tries Logical.of_string first, then Spatial.of_string; None when neither recognizes s.

Sourceval t_of_yojson : Yojson.Safe.t -> t
Sourceval yojson_of_t : t -> Yojson.Safe.t