Guest User

Untitled

a guest
Feb 16th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. (* compile with -rectypes *)
  2.  
  3. type 'a foo = 'a foo list (* accepted *)
  4.  
  5. module M (X : sig type 'a list end) = struct
  6. type 'a foo = 'a foo X.list (* accepted by ocaml 3.11.2; rejected by ocaml 4.00.1 *)
  7. end
Add Comment
Please, Sign In to add comment