ensure all function names are lowercase
related to #241
commit5482941b357987b988c93b13d314cd299c152850
authorAgentM <agentm@themactionfaction.com>
dateSat 22 Jun 2019, 12:21 (7 years ago)
parent90261dd
src/bin/TutorialD/Interpreter/RelationalExpr.hs+1−1
@@ -213,7 +213,7 @@ atomP = stringAtomP <|>
213213
214214functionAtomExprP :: RelationalMarkerExpr a => Parser (AtomExprBase a)
215215functionAtomExprP =
216− FunctionAtomExpr <$> identifier <*> parens (sepBy atomExprP comma) <*> parseMarkerP
216+ FunctionAtomExpr <$> uncapitalizedIdentifier <*> parens (sepBy atomExprP comma) <*> parseMarkerP
217217
218218relationalAtomExprP :: RelationalMarkerExpr a => Parser (AtomExprBase a)
219219relationalAtomExprP = RelationAtomExpr <$> relExprP