-
Notifications
You must be signed in to change notification settings - Fork 9
Model IO #9
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
Conversation
396cb7f
to
04290ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very plausible.
with initial type-class for abstracting over real and model io implementation and a single "smoke" test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this looks great. It's a nice simple wrapper around the pure model, to give a model that implements the imperative mutable API style. And then a class abstracting over (most of) that imperative mutable API to write QC tests against, with an example "classic" QC property, using the class.
One minor suggestion below.
Co-authored-by: Duncan Coutts <duncan@well-typed.com>
No description provided.