Skip to content

Detect List.foldl used with Set.union in a suboptimal way #354

@miniBill

Description

@miniBill
List.foldl (\e a -> Set.union a e)
--> List.foldl (\e a -> Set.union e a)

The second form is going to be faster

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions