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
The Enumerable and Collectable protocols can be implemented for Hallux.Internal.FingerTree, as far as I understand. For some operations (like count on Seq) there are more efficient specific functions in the special cases, but sometimes it would be nice to reuse generic functions when implementing a fingertree with a custom monoid.
The text was updated successfully, but these errors were encountered:
Sure! I guess there'll be a need for special cases like IntervalMap's into and Seq's count as you have noted. But if you believe there can be some reuse for those and other use cases, then it sounds like a good idea.
The
Enumerable
andCollectable
protocols can be implemented forHallux.Internal.FingerTree
, as far as I understand. For some operations (likecount
onSeq
) there are more efficient specific functions in the special cases, but sometimes it would be nice to reuse generic functions when implementing a fingertree with a custom monoid.The text was updated successfully, but these errors were encountered: