Skip to content

Fix module import error. Improve Lexp Show represenation. Misc formatting#1

Open
bennyty wants to merge 3 commits intochathaway-codes:masterfrom
bennyty:master
Open

Fix module import error. Improve Lexp Show represenation. Misc formatting#1
bennyty wants to merge 3 commits intochathaway-codes:masterfrom
bennyty:master

Conversation

@bennyty
Copy link
Copy Markdown

@bennyty bennyty commented Sep 18, 2016

Fixed an error when importing this module (naming).
Fixed the string representation of Lexp to allow for easy copy pasting.

Comment thread PA1Helper.hs
outputPrinter n ((lexp,lexp'):lexps) = do
putStrLn ("Input " ++ (show n) ++ ": " ++ (show lexp))
putStrLn ("Result " ++ (show n) ++ ": " ++ (show lexp'))
putStrLn ("Input " ++ show n ++ ": " ++ show lexp)
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change (and identical change in debug version) is probably the best quality of life change besides the correct copy-pasting of output. This lines up the output so it can be more easily compared.

@bennyty bennyty changed the title Fix module import error. Improve Lexp Show represenation. Misc format Fix module import error. Improve Lexp Show represenation. Misc formatting Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant