Inference works better now. Still work to do. Should use proper library

This commit is contained in:
sebastianselander 2023-02-15 17:40:18 +01:00
parent ad3f6b7011
commit 7619e36c60
8 changed files with 66 additions and 79 deletions

View file

@ -30,4 +30,9 @@ main = getArgs >>= \case
putStrLn . show $ err
exitFailure
Right prg -> do
putStrLn ""
putStrLn . printTree $ prg
putStrLn ""
putStrLn " ----- ADT ----- "
putStrLn ""
putStrLn $ show prg