Commit 136c2fcf authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Use Signatures.MONAD in output sig of MakeSimpleMonad

parent a98ac43f
......@@ -17,10 +17,7 @@ module MakeSimpleMonad (G : GROUP) : sig
(** {2 Monadic definitions} *)
type 'a t = unit -> 'a
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val fail : exn -> 'a t
include Signatures.MONAD with type 'a t = unit -> 'a
(** {2 Random number generation} *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment