문제

The Finger Tree paper: http://www.soi.city.ac.uk/~ross/papers/FingerTree.html is the basis for the Data.Sequence library: https://www.haskell.org/ghc/docs/7.6.1/html/libraries/containers-0.5.0.0/Data-Sequence.html#g:10

But the library only seems to provide the functions for size-annotated finger trees. It doesn't allow the client to provide other annotations to use. In particular, the sort function returns another Seq, not a "SortSeq".

Is there an existing haskell implementation of FingerTrees which provide all the functionality described in the paper?

도움이 되었습니까?

해결책

There is the fingertree package (though I have not used it; only heard about it).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top