Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Foo = struct
- type blah
- type bar
- type 'a foo =
- | Blah : int -> blah foo
- | Bar : int -> bar foo
- end
- module Bar = struct
- include Foo
- let f = function
- | Bar x -> x
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement