tonymorris/fp-course

How does Parse.list and Parse.list1 work?

Opened this issue · 0 comments

How do they work if they reference each other?
Please explain, I can't ...

list1 k = (\a -> (\xs -> pure $ a :. xs) =<< list k) =<< k
list k = list1 k ||| valueParser Nil