Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging command #30

Open
roboguy13 opened this issue Aug 18, 2015 · 1 comment
Open

Logging command #30

roboguy13 opened this issue Aug 18, 2015 · 1 comment

Comments

@roboguy13
Copy link
Member

It would be nice to have a logging function logStr :: String -> Shell () (hopefully with a better name than that) which would print something to stdout.

At the moment, hermit-shell displays the results of each step it performs and we might be able to use that as an advantage if we have a way of printing out comments to go along with those steps. For example, saying which lemma it is about to apply. You could also name different sections of the transformation in a script. This would make it quite a bit easier to follow along with each step as it runs a script.

@andygill
Copy link
Member

andygill commented Oct 4, 2015

I've added Shell to the LiftIO class. So you can now do

liftIO $ print "Hello"

in the Shell. Though, after a day of debugging, we do need much better debugging and tracing capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants