package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include ListMonad
include Monad with type 'a t = 'a list
type 'a t = 'a list
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val mzero : 'a t
val mplus : 'a t -> 'a t -> 'a t
val guard : bool -> unit t
include MonadCombinators with type 'a m = 'a t
type 'a m = 'a t
module Infix : sig ... end
val join : 'a m m -> 'a m
val liftM : ('a -> 'b) -> 'a m -> 'b m
val liftM2 : ('a -> 'b -> 'c m) -> 'a m -> 'b m -> 'c m
val fmap : ('a -> 'b) -> 'a m -> 'b m
val sequence : 'a m list -> 'a list m
val sequence_ : 'a m list -> unit m
val mapM : ('a -> 'b m) -> 'a list -> 'b list m
val mapM_ : ('a -> 'b m) -> 'a list -> unit m
val foldM : ('a -> 'b -> 'a m) -> 'a -> 'b list -> 'a m
OCaml

Innovation. Community. Security.