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

Allow binding of partially applied operator functions #269

Closed
apaleslimghost opened this issue Jan 24, 2013 · 5 comments
Closed

Allow binding of partially applied operator functions #269

apaleslimghost opened this issue Jan 24, 2013 · 5 comments

Comments

@apaleslimghost
Copy link
Contributor

I keep finding myself wanting to use (.a is @b) but of course it doesn't work. I have to fall back on ~>it.a is @b (or (.a is this$.b), shudder). Can we have something like ~(.a is @b)?

@apaleslimghost
Copy link
Contributor Author

Or better still, have pre- (or post-) fix ~ as .bind this?

@apaleslimghost
Copy link
Contributor Author

Hmm, seems I'm repeating myself (#249).

@vendethiel
Copy link
Contributor

Might be not so pretty since we lex ~ as DOT. Could lex it otherwise if next is not able?

@vendethiel
Copy link
Contributor

@gkz should every section be this-bound (we'd need to traverse the body to conditionally add it, maybe)

@vendethiel
Copy link
Contributor

I know this is the oldest, but the other one got more reactions, so #634.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants