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

Feature: Function for generating chains of any binary operator. #19

Open
rupertlssmith opened this issue Apr 3, 2020 · 0 comments
Open

Comments

@rupertlssmith
Copy link
Collaborator

A function with this signature would be useful:

binOpChain : Expression -> BinOp -> List Expression -> Expression

Can use it to chain appends for example:

binOpChain expr append [ expr2, expr3, expr4 ]
-- expr1 ++ expr2 ++ expr3 ++ expr4
rupertlssmith added a commit that referenced this issue Apr 3, 2020
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