Skip to content

Conversation

@esebastian
Copy link
Contributor

It occurred to me that in some cases it would be nice if the invariants could also be declared inline, as a block (the return value of the block will determine if the invariant holds or not).

I'm calling the existing mechanism 'explicit' (a method is declared) and I'm calling the new one 'implicit' (the invariants are written in a block, no method declaration needed).

I've kept both alternatives mutually exclusive to avoid precedence problems.

@chapuzzo
Copy link
Member

chapuzzo commented Apr 6, 2016

I like it

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants