Last active
August 29, 2015 14:25
-
-
Save objmagic/ec29606b2e2fc0a81254 to your computer and use it in GitHub Desktop.
failed..
This file contains hidden or 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 X = sig | |
| type t | |
| end | |
| module type SS = sig | |
| type t | |
| end | |
| module F (S: SS) : X with type t = S.t = struct | |
| include S | |
| end | |
| module MS = struct | |
| type t = A | B | |
| end | |
| module FS = F (MS) | |
| let x = FS.A (* Error: Unbound constructor FS.A *) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment