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
Hi @ronnelreposo
thanks for pointing that out - but it seems that it's an expected behaviour of this library due to some initial decisions made about Maybe monad.
Hi @ulfryk, thank you for your response. I was also expecting to return None / Nothing, but as I saw the discussions (specially #208), it seems that the only way to avoid this is to sanitize the inputs, filtering all the null/undefined.
e.g.
Finding an element with x being null throws an error.
https://codesandbox.io/s/zen-morse-fk96k?file=/src/index.js
The text was updated successfully, but these errors were encountered: