Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. type Tab = [String]
  2.  
  3. task :: Tab -> Tab
  4. task t =
  5. let (receiveTab t) = a
  6. (receivePosition t) = b --receivePosition and nextPosition are not really relevant to the context of this question
  7. in nextPosition a b
  8.  
  9. receiveTab :: Tab -> Tab
  10. receiveTab (h:t)
  11. | elem ' ' h = []
  12. | otherwise = receiveTab t
  13.  
  14. task2.hs: Parse error in pattern: receiveTab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement