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 sequence, I think it's in the syntax package.
The slight snag here is that because we aren't stacking instances of typeclasses, as you would in Cats, what we have is a number of specific hardcoded sequence implementations. So needs a little thought. We could implement a bunch of traverse instances the same way... is that sensible? Could even implment traverse as map.sequence, which is technical the opposite of how you normally do it, i.e. sequence = traverse(identity).
The text was updated successfully, but these errors were encountered:
We have
sequence
, I think it's in the syntax package.The slight snag here is that because we aren't stacking instances of typeclasses, as you would in Cats, what we have is a number of specific hardcoded sequence implementations. So needs a little thought. We could implement a bunch of traverse instances the same way... is that sensible? Could even implment traverse as
map.sequence
, which is technical the opposite of how you normally do it, i.e. sequence = traverse(identity).The text was updated successfully, but these errors were encountered: