Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let prefixFun a b = a + "" + b;;
- let exclaim s = s + "!";;
- let bigHello = prefixFun >> exclaim;;
- let bigHello = prefixFun >> exclaim;;
- ----------------------------^^^^^^^
- stdin(28,29): error FS0001: Type mismatch. Expecting a
- '(string -> string) -> 'a'
- but given a
- 'string -> string'
- The type 'string -> string' does not match the type 'string'
Add Comment
Please, Sign In to add comment