Module Contents.R

type 'a t = private
  1. | Ok of 'a
  2. | Error of string
    (*

    We want to replace the string by a proper diagnostic we can send to the client

    *)
val map : f:('a -> 'b) -> 'a t -> 'b t