From f3bcb7b77b21987a28586d0ab44d6175926872a0 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Thu, 3 Jul 2008 21:14:42 -0700 Subject: [PATCH] Add 3&& and 3|| words --- extra/combinators/short-circuit/short-circuit.factor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra/combinators/short-circuit/short-circuit.factor b/extra/combinators/short-circuit/short-circuit.factor index 3301633d7d..c74a2ca4fb 100644 --- a/extra/combinators/short-circuit/short-circuit.factor +++ b/extra/combinators/short-circuit/short-circuit.factor @@ -16,6 +16,7 @@ IN: combinators.short-circuit MACRO: 0&& ( quots -- quot ) 0 n&&-rewrite ; MACRO: 1&& ( quots -- quot ) 1 n&&-rewrite ; MACRO: 2&& ( quots -- quot ) 2 n&&-rewrite ; +MACRO: 3&& ( quots -- quot ) 3 n&&-rewrite ; ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -29,5 +30,6 @@ MACRO: 2&& ( quots -- quot ) 2 n&&-rewrite ; MACRO: 0|| ( quots -- quot ) 0 n||-rewrite ; MACRO: 1|| ( quots -- quot ) 1 n||-rewrite ; MACRO: 2|| ( quots -- quot ) 2 n||-rewrite ; +MACRO: 3|| ( quots -- quot ) 3 n||-rewrite ; ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!