fp-course
fp-course copied to clipboard
How does Parse.list and Parse.list1 work?
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