@@ -1077,11 +1077,14 @@ tyDeclList syn = try (sepBy1 (do x <- pfName
10771077 t <- pTSig (noImp syn)
10781078 return (map (\x -> (x, t)) ns)
10791079
1080−tyOptDeclList syn = sepBy1 (do x <- pfName;
1080+tyOptDeclList syn = sepBy1 (do x <- pNameOrPlaceholder
10811081 t <- option Placeholder (do lchar ':'
10821082 pExpr syn)
10831083 return (x,t))
10841084 (lchar ',')
1085+ where pNameOrPlaceholder = pfName
1086+ <|> do symbol "_"
1087+ return (MN 0 "underscore")
10851088
10861089bindList b [] sc = sc
10871090bindList b ((n, t):bs) sc = b n t (bindList b bs sc)