Last active
April 11, 2019 05:11
-
-
Save Pitometsu/679a053b027637fbb6a46c35903cec92 to your computer and use it in GitHub Desktop.
extensible variants can't be nonrec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module type A = sig | |
type t = .. | |
end | |
module type B = sig | |
type t | |
module C : sig | |
include A | |
type t += Ref of (* B.t ??? *) | |
end | |
end | |
(* or *) | |
module E (sig .. end) : sig | |
type t | |
module C : sig | |
include A | |
type t += Ref of (* E.t ??? *) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment