Skip to content

Commit

Permalink
Documentation: Fix typo in check-range example
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejianu authored and shhyou committed Dec 16, 2024
1 parent db37318 commit 495e6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdp-doc/scribblings/htdp-langs/prim-ops.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ functions that compute inexact numbers:
(slope f (- x EPSILON) (+ x EPSILON)))

;; [Real -> Real] Real Real -> Real
(define (slope-of f left right)
(define (slope f left right)
(/ (- (f right) (f left))
2 EPSILON))

Expand Down

0 comments on commit 495e6bd

Please sign in to comment.