Skip to content

Commit

Permalink
Update ajacks41-inlining-unrolling.lisp
Browse files Browse the repository at this point in the history
  • Loading branch information
alejack312 authored Dec 5, 2024
1 parent a1adae8 commit b2e40b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/ajacks41-inlining-unrolling.lisp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(define (pairadd p) (+ (left p) (right p)))
(define (f p) (+ (left p) (right p)))
(define (sum n acc)
(if (= n 0)
acc
(sum (- n 1) (+ acc n))))
(print (+ (pairadd (pair 5 5)) (sum 3 0)))
(print (+ (f (pair 5 5)) (sum 3 0)))

0 comments on commit b2e40b5

Please sign in to comment.