diff --git a/src/Dhall/Parser.hs b/src/Dhall/Parser.hs index 33cfb4e..c3a6075 100644 --- a/src/Dhall/Parser.hs +++ b/src/Dhall/Parser.hs @@ -137,6 +137,10 @@ expr = mdo <$> some letExpr <*> (match Lexer.In *> expr) ) + <|> ( Annot + <$> bexpr + <*> (match Lexer.Colon *> expr) + ) ) letExpr <- rule