Advertisement
Guest User

Untitled

a guest
Mar 7th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.17 KB | None | 0 0
  1. # type ('a,'b) t = bool;;
  2. type ('a, 'b) t = bool
  3. # let f : bool -> (string,int) t = fun x -> x;;
  4. val f : bool -> (string, int) t = <fun>
  5. # f true;;
  6. - : (string, int) t = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement