Formatting

Clean up Main.hs formatting; clarify language in parsing branch
This commit is contained in:
2024-12-19 19:08:56 -06:00
committed by James Eversole
parent 7ae470a4ae
commit b14d7b8b2c
2 changed files with 6 additions and 2 deletions

View File

@ -49,7 +49,7 @@ parseApplication = do
func <- parseAtomicBase
args <- many parseAtomic
case func of
TLeaf | not (null args) && all isTreeTerm args -> fail "Not an application, defer to Tree Calculus"
TLeaf | not (null args) && all isTreeTerm args -> fail "Defer to Tree Calculus"
_ -> return (SApp func args)
isTreeTerm :: SaplingAST -> Bool