On Sat, May 2, 2009 at 9:21 AM, Hugh Aguilar <[email protected]> wrote:
> My understanding is that the if function does the first combinator for
> nonzero numbers and the second combinator for zero numbers.

The first combinator is run for true values and the second for false
values. Instead of using 0 you want to use f (which is the symbol for
false). Everthing apart from f is considered to be true, so 0 is true.

Chris.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to