Am 14.01.2023 um 16:39 schrieb Cottrell, Allin:
On Sat, Jan 14, 2023 at 4:33 AM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
> Hi, sometimes I was under the impression that hansl supports lazy evaluation of
boolean expressions, and sometimes I thought that no, it doesn't. And turns out I was
right because it seems to depend. Consider this:
>
> <hansl>
>
> clear # neither a nor b exist
> eval 1==2 && a==b # lazy works, FALSE no matter what a or b
> eval 1==1 || a==b # lazy fails, even though it's always TRUE
>
> </hansl>
Ah, good catch. As opposed to "&&", in the case of "||" only
half of
the apparatus needed to support lazy evaluation was in place. The
other half is now added in git.
OK, great!
thanks
sven