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

SetBind, SetPlusBind... #2

Open
lambdageek opened this issue Sep 25, 2014 · 0 comments
Open

SetBind, SetPlusBind... #2

lambdageek opened this issue Sep 25, 2014 · 0 comments

Comments

@lambdageek
Copy link
Owner

Unbound/RepLib had these additional binders that allow you to express patterns where the bound names are treated in such a way that their order doesn't matter. (For example you could create a term local x=1, y=2 in e((x,y)) which is alpha-equivalent to local y=2, x=1 in e.)

It should be pretty straightforward to add this back in. All the magic is in the smart constructors setbind and setplusbind. (One would also need to generalize Bind to GenBind as in Unbound. No big deal)

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

1 participant