-
Notifications
You must be signed in to change notification settings - Fork 114
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
Please, pack the 'Value.hs' funtions into type classes #776
Comments
Of course, accounting for the lawful/unlawful implementations and provide tests. |
The RankNTypes use in functions and function context around them, and the cross-types use makes the class formation currently difficult. At least some of. |
If something - it is an "idea to strive for". I am aware those are not direct Due to the design of HNix & how already these HOFs are close to be instances - at some point, it is possible to "suddenly" get them as "weakly lawful" or lawful instances. Some functions (currently) do not align by types to be for example Thou from the list there can be cases where implementation gets aligned with famous type classes. Maybe it is a good idea to create equivalent type classes for those types of functions if we would have several sets of those for different types (aka for |
With the number of funtions there - it would be ugly, but the functions should be duplicated & useless argument passing removed from them (as it was done in |
lmap
isProfunctor
lift
isMonadTrans
unlift
isMonadTransUnlift
hoist
are used only inside the module only to formlift/unlift
bind
isMonad
iter
isFree
sequence
isTraversable traverse
The text was updated successfully, but these errors were encountered: