Named patterns need parenthesis.
Closed this issue · 0 comments
rupertlssmith commented
type Singleton
= Singleton String
fn = (\Singleton val -> ...)
Needs parenthesis around the pattern:
fn = (\(Singleton val) -> ...)
Closed this issue · 0 comments
type Singleton
= Singleton String
fn = (\Singleton val -> ...)
Needs parenthesis around the pattern:
fn = (\(Singleton val) -> ...)