Switch to the new cons (::) in parse library.
This commit is contained in:
parent
021a27cc39
commit
0ec1cf3e10
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ pipeSep1 :: IParser a -> IParser [a]
|
|||
pipeSep1 = spaceySepBy1 (char '|' <?> "type divider '|'")
|
||||
|
||||
consSep1 :: IParser a -> IParser [a]
|
||||
consSep1 = spaceySepBy1 (char ':' <?> "cons operator ':'")
|
||||
consSep1 = spaceySepBy1 (string "::" <?> "cons operator '::'")
|
||||
|
||||
dotSep1 :: IParser a -> IParser [a]
|
||||
dotSep1 p = (:) <$> p <*> many (try (char '.') >> p)
|
||||
|
|
Loading…
Reference in a new issue