the-sett/elm-syntax-dsl

Named patterns need parenthesis.

Closed this issue · 0 comments

type Singleton
    = Singleton String

fn = (\Singleton val -> ...)

Needs parenthesis around the pattern:

fn = (\(Singleton val) -> ...)