Guest User

Untitled

a guest
Oct 22nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. Prelude> :load myFunctions.hs
  2. [1 of 1] Compiling Main ( myFunctions.hs, interpreted )
  3. Ok, modules loaded: Main.
  4. *Main> myIntersperse "." ["aaa","bbb","CCC","dDd"]
  5.  
  6. <interactive>:1:20:
  7. Couldn't match expected type `[Char]' with actual type `Char'
  8. Expected type: [[Char]]
  9. Actual type: [Char]
  10. In the expression: "aaa"
  11. In the second argument of `myIntersperse', namely
  12. `["aaa", "bbb", "CCC", "dDd"]'
Add Comment
Please, Sign In to add comment