Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. type StringList = StringList of string list
  2. let sl = StringList [ "Hello, "; "World" ]
  3. let length = List.length sl
  4.  
  5. This expression was expected to have type 'a list but here has type StringList
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement