Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does Parse.list and Parse.list1 work? #55

Open
ildar-shaymukhametov opened this issue Jan 5, 2024 · 0 comments
Open

How does Parse.list and Parse.list1 work? #55

ildar-shaymukhametov opened this issue Jan 5, 2024 · 0 comments

Comments

@ildar-shaymukhametov
Copy link

ildar-shaymukhametov commented Jan 5, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant