> Factor `and' operators are working just with booleans from stack. So im > interested whats an idiomatic way to do things like this? Maybe it could be > useful to have lazy left-to-right logical operators that work on quotations > in standart library?
I think the && smart short cirtcuit combinator does what you want here. See: <http://docs.factorcode.org/content/article-combinators.short-circuit.smart.html> This lets you pass a sequence of quotations and && will operate on them in a lazy manner. Chris. -- http://www.bluishcoder.co.nz ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk