Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. List.rev [];;
  2. ^^^^^^^^^^^
  3.  
  4. stdin(70,1): error FS0030: Value restriction. The value 'it' has been inferred to have generic type
  5. val it : '_a list
  6. Either define 'it' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement