package oxbow

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

Module Direction.LogicalSource

Sourcetype t =
  1. | Next
  2. | Prev
Sourceval to_string : t -> string

to_string d is the string representation of d:

  • Next -> "next"
  • Prev -> "prev"
Sourceval of_string : string -> t option

of_string s is the direction named by s, trimmed and case-insensitive; None when unrecognized.

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