Comcast / rulio

Rulio
Apache License 2.0
336 stars 59 forks source link

Clarify how condition code "returns" a value #12

Closed jsccast closed 8 years ago

jsccast commented 8 years ago

The manual currently says

If the value returned by block is truthy, then the condition evaluation continues.

Should elaborate.

The code is executed as expressions in an implicit block, so the value of the last expression is the value of the block. (So no explicit return is required or even permitted.)