Skip to content

Support for Indexed Folds? #484

@HuwCampbell

Description

@HuwCampbell

Sorry if this is already addressed.

I'm in need of an ifoldl' function over text values, and I can't seem to find it.

ifoldl' :: forall a. (a -> Int -> Char -> a) -> a -> Text -> a

Lens combinators come close, but I don't think it's possible to make an instance of FoldableWithIndex for text?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions