You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is supposed to be supported at the moment, but the current behaviour is rather surprising:
module type S=sigtype t endmodule type T=sigmoduleM: SendmoduleN :
sig
implicit functorF(X: T) =X.Mend=struct
implicit functorF(X: T) =X.Mend
Error: Signature mismatch:
Modules do not match:
sig implicit functor F (X : T) : sig type t = X.M.t end end
is not included in
sig implicit functor F (X : T) = X.M end
In module F:
Modules do not match:
functor (X : T) -> sig type t = X.M.t end
is not included in
functor (X : T) -> (module X.M)
At position module F(X) : <here>
Modules do not match:
sig type t = X.M.t end
is not included in
(module X.M)
The text was updated successfully, but these errors were encountered:
I'm not sure if this is supposed to be supported at the moment, but the current behaviour is rather surprising:
The text was updated successfully, but these errors were encountered: