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
In base 4.8, (*>) will be implemented (by default) using (<$), for which Seq, at least, has an optimized implementation. But this won't help (>>) unless it's defined explicitly.
The text was updated successfully, but these errors were encountered:
I'll certainly try. In any case, I realized later that we can do better than using the default *>—in particular, xs *> ys should really be implemented directly, and then >> should be defined in terms of that. There's no reason to calculate id <$ xs at all; instead, we should glue length xs copies of ys together. If there's a magical way to do this, as there is for replicate, then so much the better.
In base 4.8,
(*>)
will be implemented (by default) using(<$)
, for whichSeq
, at least, has an optimized implementation. But this won't help(>>)
unless it's defined explicitly.The text was updated successfully, but these errors were encountered: