diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-02-13 22:39:14 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-02-13 22:39:14 +0100 |
commit | f8ef28316dd8adeaf8d4d3e0f6e310e26ac19028 (patch) | |
tree | c0b67ea4cca2fd3350af9b2ee7487b5b9bfae13e /Parser.hs | |
parent | 23abd39ceb024bad50d44922adcdfcb2b6231cd7 (diff) |
More reindent
Diffstat (limited to 'Parser.hs')
-rw-r--r-- | Parser.hs | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -438,21 +438,21 @@ pTypeAtom :: Parser Type pTypeAtom = pTypeParens <|> pTypeList <|> pTypeCon <|> pTypeVar where pTypeParens = do - inlineWhite - char '(' - asum [do inlineWhite - char ')' - return (TTup []) - ,do ty1 <- pType - ty2s <- many $ do - inlineWhite - char ',' - pType + inlineWhite + char '(' + asum [do inlineWhite + char ')' + return (TTup []) + ,do ty1 <- pType + ty2s <- many $ do inlineWhite - char ')' - case ty2s of - [] -> return ty1 - _ -> return (TTup (ty1 : ty2s))] + char ',' + pType + inlineWhite + char ')' + case ty2s of + [] -> return ty1 + _ -> return (TTup (ty1 : ty2s))] pTypeList = do inlineWhite |