-
Notifications
You must be signed in to change notification settings - Fork 7
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 FunctionType::new_linear to new_endo #664
Comments
I suggest |
edit: jinx! |
heh, almost snap |
Yes I was thinking there was something from category theory and Endofunction/morphism is exactly it. I like |
acl-cqc
changed the title
Rename FunctionType::new_linear...but, to what?
Rename FunctionType::new_linear to new_endo
Nov 12, 2023
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 16, 2023
Closes #664 . BREAKING_CHANGES: `FunctionType::new_linear()` renamed to `FunctionType::new_endo()`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linearity is a property of a value, not a function on that value. So, possibilities?
new_symmetric
? (thanks to @seyon)self_composable
? But would have to benew_self_composable
, too long.new_iterable
? But in a Rusty world, that sounds confusingnew_elidable
? as in, we could just wire the inputs through to the outputsnew_identity_type
? (It has the same type as the identity function, and/or, the signature is what you get by applying the identity function to the input types)The text was updated successfully, but these errors were encountered: