-
Notifications
You must be signed in to change notification settings - Fork 74
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
Interplay of >>> and prop> #175
Comments
Thanks for reporting. It is not entirely clear what feature you are requesting here. Could you elaborate more, e.g. on the expected behavior? |
The line after This is rather surprising behavior, I rather expected that the second line would declare an ordinary quickcheck property. A workaround is to insert an empty line inbetween, as in #174. |
I think this is an extension of #174. As we currently don't share the scope between properties and examples, code like -- >>> let x = 1
-- prop> x == 1 is not something you commonly want to write. @sgraf812 can you check what |
Judging from this function, haddock will most likely parse this as example + result. That makes no observable difference for haddock, I think, because results and properties are formatted the same. It does to Maybe we should fix |
The problem might be solved by multi-line properties: #131. |
Consider this:
This complains that the output of
let x = 1
didn't matchprop> x == 1
. If theprop>
were a>>>
instead, this would at least pass the first line (independent of #174, which would happen the line after).The text was updated successfully, but these errors were encountered: