From 3aa1225433518f1cda525225cb3f29ebf73b38d9 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 6 Apr 2025 20:59:52 -0700 Subject: infix: remove unnecessary rewrite rule * stdlib/infix.tl (parse-infix): We don't need to recognize consecutive [...][...], because the rule which reduces any element followed by [...] does the job. --- stdlib/infix.tl | 2 -- 1 file changed, 2 deletions(-) diff --git a/stdlib/infix.tl b/stdlib/infix.tl index 3d83a6a1..5127f60e 100644 --- a/stdlib/infix.tl +++ b/stdlib/infix.tl @@ -136,8 +136,6 @@ (set exp rest)) ((@(@o [ifx-ops]) . @nil) (infix-error oexp "operator ~s needs left operand" o.sym)) - (([. @args1] [. @args2] . @rest) - (set exp ^([[,*args1] ,*args2] ,*rest))) ((@op [. @args] . @rest) (set exp ^([,op ,*args] ,*rest))) ((@op (@arg . @args) . @rest) -- cgit v1.2.3