Skip to content

Commit 16e6a4a

Browse files
committed
Add 1-split
1 parent c7785e8 commit 16e6a4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/rules.rkt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@
9696
(define-rules arithmetic
9797
[count-2 (+ x x) (* 2 x)]
9898
[2-split 2 (+ 1 1)]
99-
[count-2-rev (* 2 x) (+ x x)])
99+
[count-2-rev (* 2 x) (+ x x)]
100+
[1-split 1 (* 2 1/2)])
100101

101102
; Distributivity
102103
(define-rules arithmetic

0 commit comments

Comments
 (0)