package ezjsonm-encoding

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

This modules provides a monadic interface to compose existing decoders together.

val let* : 'a t -> ('a -> 'b t) -> 'b t

The bind operator.

val let+ : 'a t -> ('a -> 'b) -> 'b t

The map operator.

val and+ : 'a t -> 'b t -> ('a * 'b) t
val return : 'a -> 'a t

return x is the decoder that ignores the input Json value, and always return x.

OCaml

Innovation. Community. Security.