-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error reporting in RTac #50
Comments
Do you just need an error message (add one to Fail) or do you need some sort of logging trace? |
I think just an error message (although it should be able to carry things like entailments/programs) would be good, but it would probably be good to have more discussion before anything gets implemented |
Adding a value to |
I think that adding an error message to Fail would be the way to go. it should be simple enough to do as it has no semantic meaning and just tags along for the ride. /Jesper On 13 Nov 2014, at 11:22, Gregory Malecha <notifications@github.commailto:notifications@github.com> wrote: Adding a value to Fail would be pretty simple (if it is parametric, you could put whatever you want there). I guess technically RTac could be parameterized by an arbitrary monad that has a zero, that would allow for a logging implementation or a non-logging implementation, it would probably be a bit more complicated though. — |
@andrew-appel and I were discussing the possibility of returning errors in RTac because it is important to us that when symbolic execution fails we are able to tell the user why.
A possible solution to this is to parameterize RTac over an error type and include something of that type in the failure. I'm not sure what the best way to propagate this information through tactics is though.
The text was updated successfully, but these errors were encountered: