-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adds uncurried ST functions #52
Conversation
Apologies for the many failed builds, I was too lazy to do the |
Can you add a changelog update? |
Do folks think the nominal parameter should appear first in the ST functions? Currently, it's: STFn10 t a b c d e f g h i j r but it could be instead STFn10 a b c d e f g h i j t r I almost always lead with nominal parameters, but if we did it this way, the order of parameters would follow the type better. |
Hm.... If it was at the end but before -- StFnInt3 t r = StFn Int Int Int t r
type StFnInt3 = StFn Int Int Int vs StFnInt3 t = StFn Int Int Int t I guess that's better? |
Changed. As per the discussion here: purescript/purescript#4386 (comment), I think this should be merged before we review the compiler change. Let me know if anyone objects. |
@garyb Can this get an approval? |
Description of the change
This PR is a copy-paste of
Effect
's uncurried functions with an additionalnominal
type parameter.Checklist: