fp-course icon indicating copy to clipboard operation
fp-course copied to clipboard

How does Parse.list and Parse.list1 work?

Open ildar-shaymukhametov opened this issue 1 year ago • 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

ildar-shaymukhametov avatar Jan 05 '24 04:01 ildar-shaymukhametov