Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type StringList = StringList of string list
- let sl = StringList [ "Hello, "; "World" ]
- let length = List.length sl
- This expression was expected to have type 'a list but here has type StringList
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement