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 could use an internal version of View with another constructor:
dataView'ma=Pure'a
| a :<< SeqTma
| a :<<< m (View'ma)
This would allow us to try to use RULES to turn lift m <|> lift n into something like
fromView' $ m >>=\a ->pure (a :<<< (n >>= single'))
Smashing enough lifted values (or pure ones) into one element of the queue should improve optimization and keep the queue shorter. On the negative side, we'd have more cases to deal with.
The text was updated successfully, but these errors were encountered:
We have
We could use an internal version of
View
with another constructor:This would allow us to try to use
RULES
to turnlift m <|> lift n
into something likeSmashing enough lifted values (or pure ones) into one element of the queue should improve optimization and keep the queue shorter. On the negative side, we'd have more cases to deal with.
The text was updated successfully, but these errors were encountered: