Last active
December 21, 2015 23:39
-
-
Save samoht/6383888 to your computer and use it in GitHub Desktop.
type error
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 S1 = sig | |
| type t | |
| end | |
| module X = struct | |
| type t = int | |
| let f x = x | |
| end | |
| module type S2 = sig | |
| module S: S1 | |
| end | |
| module Y = struct | |
| module S = (X:S1 with type t = int) | |
| end | |
| module Z: S2 with module S = X = Y |
Author
samoht
commented
Aug 29, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment