On Sat, Jan 14, 2023 at 4:33 AM Sven Schreiber <sven.schrei...@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. Allin _______________________________________________ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/