From 4f29db2f75cad5dcdedeb2726b66c197c2790c8b Mon Sep 17 00:00:00 2001 From: Alexander Ilin Date: Mon, 3 Jan 2022 22:55:50 +0100 Subject: [PATCH] boolean-expr: fix the implication implementation --- extra/boolean-expr/boolean-expr.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/boolean-expr/boolean-expr.factor b/extra/boolean-expr/boolean-expr.factor index a0b54caddf..0f8c5b1091 100644 --- a/extra/boolean-expr/boolean-expr.factor +++ b/extra/boolean-expr/boolean-expr.factor @@ -46,7 +46,7 @@ METHOD: ¬ { ⋁ } [ x>> ¬ ] [ y>> ¬ ] bi ⋀ ; METHOD: ¬ { □ } \ ¬ boa ; -: → ( x y -- expr ) ¬ ⋀ ; +: → ( x y -- expr ) swap ¬ ⋁ ; : ⊕ ( x y -- expr ) [ ⋁ ] [ ⋀ ¬ ] 2bi ⋀ ; : ≣ ( x y -- expr ) [ ⋀ ] [ [ ¬ ] bi@ ⋀ ] 2bi ⋁ ; -- 2.34.1