Refactored. Cleaner version, ala Martin version

This commit is contained in:
sebastianselander 2023-02-15 19:52:52 +01:00
parent b03df17e34
commit f1b77a7efa
4 changed files with 33 additions and 60 deletions

View file

@ -24,7 +24,6 @@ main = getArgs >>= \case
putStrLn " ----- PARSER ----- "
putStrLn ""
putStrLn . printTree $ prg
putStrLn . show $ prg
case rename prg of
Left err -> do
putStrLn "FAILED RENAMING"