Skip to content

Allow using LambdaCase in case splitting plugin #394

Closed
@expipiplus1

Description

@expipiplus1

It would be nice if case splitting were configurable to generate LambdaCase splits. This could either be a static configuration option, or an additional suggestion in every split.

For the example here: #391 (comment)

fmapEither = \fab -> \case
  Left c -> Left _ 
  Right a -> Right _

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