Skip to content

CatQueue traverse implementation #51

Open
@nadameu

Description

@nadameu

The traverse implementation of CatQueue iterates through every element twice.

Is this intended?

traverse f =
map (foldl snoc empty)
<<< foldl (\acc -> lift2 snoc acc <<< f) (pure empty)

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