Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 41a31d1

Browse files
committed
Simplify the projection rule.
1 parent 15430ba commit 41a31d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semantic-core/src/Data/Core/Parser.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ application :: (TokenParsing m, Monad m) => m (Term Core User)
5959
application = projection `chainl1` (pure (Core.$$))
6060

6161
projection :: (TokenParsing m, Monad m) => m (Term Core User)
62-
projection = foldl' (Core....) <$> atom <*> many (namedValue <$> (dot *> name))
62+
projection = foldl' (Core....) <$> atom <*> many (namedValue <$ dot <*> name)
6363

6464
atom :: (TokenParsing m, Monad m) => m (Term Core User)
6565
atom = choice

0 commit comments

Comments
 (0)