Advertisement
Guest User

Untitled

a guest
May 26th, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. module Foo = struct
  2. type blah
  3. type bar
  4.  
  5. type 'a foo =
  6. | Blah : int -> blah foo
  7. | Bar : int -> bar foo
  8. end
  9.  
  10.  
  11. module Bar = struct
  12. include Foo
  13.  
  14. let f = function
  15. | Bar x -> x
  16.  
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement