-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Rename *Aux helper classes to *Curried #577
Conversation
We currently have a few helper classes that have an `Aux` suffix for emulating currying type parameters. These helper classes have an `apply` method which allows some type parameters of a function to be inferred while others need to be specified. @tpolecat has nice explanation of this trick here: http://tpolecat.github.io/2015/07/30/infer.html Unfortunately the suffix `Aux` is an overloaded term that is most prominently used to provide terser syntax for type refinements, e.g.: type Aux[F[_], A, B] = Coyoneda[F, A] { type Pivot = B } I'm wondering if we should use `Curried` instead of `Aux` for classes that enable type parameter currying. This could make the purpose of those classes clearer to those who are unfamiliar with this trick.
Current coverage is
|
I don't have any very strong opinions on this, but it seems reasonable to me 👍 |
I've used I think that this is about partial application rather than currying however, so maybe |
I've used |
👍 for |
👍 |
1 similar comment
👍 |
Rename *Aux helper classes to *Curried
Conversely, do you think we should rename |
We currently have a few helper classes that have an
Aux
suffixfor emulating currying type parameters. These helper classes have
an
apply
method which allows some type parameters of a functionto be inferred while others need to be specified. @tpolecat has
nice explanation of this trick here:
http://tpolecat.github.io/2015/07/30/infer.html
Unfortunately the suffix
Aux
is an overloaded term that is mostprominently used to provide terser syntax for type refinements, e.g.:
I'm wondering if we should use
Curried
instead ofAux
for classesthat enable type parameter currying. This could make the purpose of
those classes clearer to those who are unfamiliar with this trick.