@@ -1077,11 +1077,14 @@ tyDeclList syn = try (sepBy1 (do x <- pfName
1077 t <- pTSig (noImp syn)
1077 t <- pTSig (noImp syn)
1078 return (map (\x -> (x, t)) ns)
1078 return (map (\x -> (x, t)) ns)
1080−tyOptDeclList syn = sepBy1 (do x <- pfName;
1080+tyOptDeclList syn = sepBy1 (do x <- pNameOrPlaceholder
1081 t <- option Placeholder (do lchar ':'
1081 t <- option Placeholder (do lchar ':'
1082 pExpr syn)
1082 pExpr syn)
1083 return (x,t))
1083 return (x,t))
1084 (lchar ',')
1084 (lchar ',')
1085+ where pNameOrPlaceholder = pfName
1087+ return (MN 0 "underscore")
1086bindList b [] sc = sc
1089bindList b [] sc = sc
1087bindList b ((n, t):bs) sc = b n t (bindList b bs sc)
1090bindList b ((n, t):bs) sc = b n t (bindList b bs sc)