I'm interested in creating a new type of Haskell container (strict lists), and I want to make sure that operations with them have the right to merge threads. How can I refuse the possibility of merging ghc streams?
If my container is Traversable , will it work automatically? If I implemented, say, mapAccumL in terms of toList , would Haskell be smart enough not to convert the container to a list at all, but just work on the base view?
source share