-
Notifications
You must be signed in to change notification settings - Fork 3
Make because a statement instead of expression #102
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Currently because is an expression. This allows to have fine-grained control of which subexpression needs which proof, for example f(x because A, y because B) but it complicates compiler internals. For example delta reduction needs to handle nonsensical situations like ({1,2,3} because true)[0]. An alternative approach is to allow an optional because clause at the statement level, for example in return x because y the clause is part of the return statement not the returned expression.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers