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
{{ message }}
This repository has been archived by the owner on May 15, 2019. It is now read-only.
When a Zipper is created with an empty context (e.g. via Group#toZipper), the resulting Zipper does not define a workingflatMap. If this were just a result of toZipper, then it would be excusable. Unfortunately, this arises when actually using Zipper normally:
valg:Group[Node] = ...
(g \"foo").unselect flatMap { e =>Some(e) } // => Group(), regardless of what g is
This appears to be a product of the fact that flatMap builds its result by mapping over the zipper context. Since that context is empty after unselect (in this case), the result will always be Group().
The text was updated successfully, but these errors were encountered:
When a
Zipper
is created with an empty context (e.g. viaGroup#toZipper
), the resultingZipper
does not define a workingflatMap
. If this were just a result oftoZipper
, then it would be excusable. Unfortunately, this arises when actually usingZipper
normally:This appears to be a product of the fact that
flatMap
builds its result by mapping over the zipper context. Since that context is empty afterunselect
(in this case), the result will always beGroup()
.The text was updated successfully, but these errors were encountered: