You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appreciate this warning about filtered. (I guess the reason the type is written as Optic' instead of Prism' is to discourage people from reviewing it?)
I'm sure there's a reason nonNull is an improper Prism' instead of an improper Traversal', I'm just not sure what the reason is. Maybe the fix is to document wherever optics laws are violated in the library, as lens tries to, not only here but
>>> let s = "-0" in over _Number id s == s
False
etc.
The text was updated successfully, but these errors were encountered:
sjshuck
changed the title
Review nonNull
Review nonNull, add documentation
Mar 8, 2022
Pun intended. 🙂
I appreciate this warning about
filtered
. (I guess the reason the type is written asOptic'
instead ofPrism'
is to discourage people fromreview
ing it?)I'm sure there's a reason
nonNull
is an improperPrism'
instead of an improperTraversal'
, I'm just not sure what the reason is. Maybe the fix is to document wherever optics laws are violated in the library, aslens
tries to, not only here butetc.
The text was updated successfully, but these errors were encountered: