Closed Bodigrim closed 5 years ago
Conditional should be on MIN_VERSION_base(4,13,0)
To be 100% compatible - yes. But it makes the logic of conditionals harder to grasp. AFAIU as long as all usages of PropertyM
go through monadicIO
/ assert
pattern, it does not change semantics.
It does change the public interface, and as you propose it, it’s breaking change.
fail
records the reason (assert
only says ”Assertion failed”), so I’d expect it’s used to greater extend in the users testing code.
On 27 Apr 2019, at 22.07, Bodigrim notifications@github.com wrote:
Conditional should be on MIN_VERSION_base(4,13,0)
To be 100% compatible - yes. But it makes the logic of conditionals harder to grasp and is out of line with the rest of the module. AFAIU as long as all usages of PropertyM goes through monadicIO / assert pattern, it does not change semantics.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Agreed, makes sense.
Thanks!
Conditional should be on MIN_VERSION_base(4,13,0)