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

Add namespace contextualisation for whole expressions #63

Open
gallais opened this issue Apr 23, 2020 · 2 comments
Open

Add namespace contextualisation for whole expressions #63

gallais opened this issue Apr 23, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers shonkier Everything related to the language

Comments

@gallais
Copy link
Member

gallais commented Apr 23, 2020

At the moment we can only write List.filter p (List.map f xs) but it would
be nice to be able to write List.(filter p (map f xs)) and have it mean the
same thing (given that none of p, f, and xs are in namespace List).

I wanted to do that but somehow forgot about it.

@gallais gallais added enhancement New feature or request good first issue Good for newcomers shonkier Everything related to the language labels Apr 23, 2020
@pigworker
Copy link
Contributor

Right.

@pigworker
Copy link
Contributor

Hilariously, also

List.; filter p (map f xs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers shonkier Everything related to the language
Projects
None yet
Development

No branches or pull requests

2 participants