the-sett / elm-syntax-dsl

A DSL for creating Elm syntax trees and pretty printing Elm source code.
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

Named patterns need parenthesis. #4

Closed rupertlssmith closed 5 years ago

rupertlssmith commented 5 years ago
type Singleton
    = Singleton String

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

Needs parenthesis around the pattern:

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