To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
This module contains a Json type (compatible with Yojson.Basic.t) and helpers.
type t = [
`Assoc of (string * t) list
`Bool of bool
`Float of float
`Int of int
`List of t list
`String of string
Json type. This is compatible with Yojson.Basic.t
exception Casting_error of string * t
This is thrown in the case that an unsafe cast (like to_list below) fails.
This converts a `List (t list) to 't list, or throws a Casting_error in the case that the input is not a `List.
This converts an `Assoc (string * t list) to ('a, 'b) Hashtbl.t, or throws a Casting_error in the case that the input is not an `Assoc.