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

expose Elm.CodeGen.infixExpose #37

Open
lue-bird opened this issue Oct 25, 2021 · 3 comments
Open

expose Elm.CodeGen.infixExpose #37

lue-bird opened this issue Oct 25, 2021 · 3 comments

Comments

@lue-bird
Copy link
Contributor

lue-bird commented Oct 25, 2021

The current alternative is Elm.Syntax.InfixExpose.
Are there plans to do infixExpose : BinOp -> TopLevelExpose? (all infix operators would then be in Elm.CodeGen. (|.), (</>, etc.)

@rupertlssmith
Copy link
Collaborator

I left this out since custom operators was removed in 0.19. Do you need it? To generate code for 0.18 or some other reason?

@lue-bird
Copy link
Contributor Author

lue-bird commented Oct 25, 2021

I do not expose custom infix operators from a generated module, but I want to import infix operators from Parser, Parser.Advanced and Url.Parser like (|=) and (<?>).

@rupertlssmith
Copy link
Collaborator

Good point, it should be exposed then.

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

2 participants