package bap-std
Module M.Fn
Various function combinators lifted into the Kleisli category.
val id : 'a -> ('a, 'e) tid x a monadic identity function
val nothing : unit -> (unit, 'e) tnothing is a computation that does nothing.
apply_n_times ~n f creates a chaing of computation of size n made from applications of the same function to its own result.