-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Swap order of type arguments for BiMap
in match
and arrayOf
functions
#95
Comments
prism
but vice versaprism
Why does the type need to be
Control.Lens.Prism doesn't use an invert in the implementation. |
@jiegillet The reason for this is because prisms in
Though, as I can see now, those functions can take |
prism
BiMap
in match
and arrayOf
functions
I'll try to do the change. It might take a while, may the compiler be with me :) |
* Reversed BiMap Anything a into BiMap a Anything * Removed inverse function * Added _Just, invert, cleaned up function names * Added #106 to CHANGELOG * Flipped _TextBy arguments * Reference issues instead of PRs * typo in CHANGELOG
Closed in #106 |
Currently we have the following combinator:
But usually it's used with
invert
function to get required type:We need to add combinator like
invert . prism
but I don't know proper name for it 😞 The name should be short because it's going to be used often.The text was updated successfully, but these errors were encountered: