Skip to content

Seq: make whole/part-container transforms such as fmap strict #11

@infinity0

Description

@infinity0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions