missing constraint in CCSexpM.ID_MONAD

This commit is contained in:
Simon Cruanes 2016-02-23 17:13:12 +01:00
parent 23e3544adc
commit b3d7a0d654

View file

@ -86,9 +86,10 @@ module MakeDecode(M : MONAD) : sig
long enough or isn't a proper S-expression *)
end
module ID_MONAD : MONAD
module ID_MONAD : MONAD with type 'a t = 'a
(** The monad that just uses blocking calls as bind
@since 0.14 *)
@since 0.14
['a t = 'a] contraint is @since NEXT_RELEASE *)
module D : module type of MakeDecode(ID_MONAD)
(** Decoder that just blocks when input is not available