Closed davidchambers closed 5 years ago
Closes #465
These functions are often misused. I have seen code like this in the Gitter room on several occasions:
S.fromMaybe (y) (S.map (f) (S.toMaybe (x)))
I am removing these functions for several reasons:
?
reject
Just
S.toMaybe
Maybe a
Nullable a
Closes #465
These functions are often misused. I have seen code like this in the Gitter room on several occasions:
I am removing these functions for several reasons:
?
in type signatures;reject
–Just
compositions; andS.toMaybe
reinforces the common misunderstanding thatMaybe a
exists solely as a replacement forNullable a
.