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

Lifting of up to quaternary functions #22

Merged
merged 2 commits into from
Jan 26, 2015
Merged

Lifting of up to quaternary functions #22

merged 2 commits into from
Jan 26, 2015

Conversation

milibopp
Copy link
Owner

This is a preliminary implementation to provide the practical functionality of n-ary lifting for the most common cases. The type system did not allow to implement this as a regular function/method without losing type inference. Therefore a new macro lift! was implemented to dispatch to the implementations for different arity.

Breaking change

  • lift2 is no longer exported at the crate level, but in a module lift. It is recommended to use the macro lift! instead.

This is a preliminary implementation to provide the practical functionality of
n-ary lifting for the most common cases. The type system did not allow to
implement this as a regular function/method without losing type inference.
Therefore a new macro `lift!` was implemented to dispatch to the
implementations for different arity.

Breaking change:

- `lift2` is no longer exported at the crate level, but in a module `lift`. It
  is recommended to use the macro `lift!` instead.
@milibopp milibopp mentioned this pull request Jan 26, 2015
2 tasks
@milibopp milibopp added this to the 0.1.0 milestone Jan 26, 2015
milibopp added a commit that referenced this pull request Jan 26, 2015
Lifting of up to quaternary functions
@milibopp milibopp merged commit 06082a3 into master Jan 26, 2015
@milibopp milibopp deleted the nary-lift branch January 26, 2015 13:46
milibopp added a commit that referenced this pull request Jun 10, 2023
Lifting of up to quaternary functions
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

Successfully merging this pull request may close these issues.

1 participant