As described in the latest documentation. Possible candidates beyond fmap:
- scan*
update, insertAt, and anything else we might've missed with a similar type signature -> a .. -> (Seq a, *).
- dynamic constructors e.g.
from*, replicate*, iterateN. although the documentation says they are O(n), from a quick reading of the source code it seems this really means "only if someone actually evaluates the whole thing e.g. by printing it", since the lazy parts of the Deep structure stay lazy
Some technical details in haskell/containers#752
As described in the latest documentation. Possible candidates beyond
fmap:update,insertAt, and anything else we might've missed with a similar type signature-> a .. -> (Seq a, *).from*,replicate*,iterateN. although the documentation says they are O(n), from a quick reading of the source code it seems this really means "only if someone actually evaluates the whole thing e.g. by printing it", since the lazy parts of the Deep structure stay lazySome technical details in haskell/containers#752