Advertisement
Guest User

Untitled

a guest
Jun 9th, 2014
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.18 KB | None | 0 0
  1. module type MyList =
  2.     sig type 'a mylist
  3.     val empty: unit -> 'a mylist
  4.     val cons: 'a -> 'a mylist -> 'a mylist
  5.     val hd: 'a mylist -> 'a
  6.     val tl: 'a mylist -> 'a mylist
  7. end;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement