Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module type MyList =
- sig type 'a mylist
- val empty: unit -> 'a mylist
- val cons: 'a -> 'a mylist -> 'a mylist
- val hd: 'a mylist -> 'a
- val tl: 'a mylist -> 'a mylist
- end;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement