Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
type.ml1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16open Core module T = struct type 'a t = Json.t -> 'a let run t json = t json let bind t ~f json = run (f (run t json)) json let return a = Fn.const a let map t ~f json = f (run t json) let map = `Custom map let apply af ax json = run af json @@ run ax json end include T include Applicative.Make (T) include (Monad.Make (T) : Monad.S_without_syntax with type 'a t := 'a t)