Damian Conway wrote:
> In other words, this is another example of "Don't use junctions in actions
> with side-effects".

Why not tag functions with side-effects as such (using a trait to that
effect), and then say that short-circuit operators don't short-circuit
when side-effects are involved?  Or provide adverbs for the junctive
functions that can be used to change their short-circuiting behavior. 
Or both.

--
Jonathan Lang

Reply via email to