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
We have Functor,Functor, Functor,Functor1, Functor,Functor2 combinations, but we don't have Functor1, Functor, Functor2, Functor, ... . Why is that? I tried composing List, Either and Either, List and both worked! I'm trying to understand why is the existing overloading enough?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a question regarding map helper function exists in
/src/Functor.ts
, specifically about the overloads on it. We have these combinations:We have
Functor,Functor
,Functor,Functor1
,Functor,Functor2
combinations, but we don't haveFunctor1, Functor
,Functor2, Functor
, ... . Why is that? I tried composingList, Either
andEither, List
and both worked! I'm trying to understand why is the existing overloading enough?Beta Was this translation helpful? Give feedback.
All reactions