From: Danny Yoo (dyoo at cs.wpi.edu) Date: Tue Oct 4 16:45:55 EDT 2011 |
|
> Not sure what inexact=? does. What's needed is something like a > three-argument function that tests |x-y| < epsilon. Epsilon should > not be implicit. It's not in the racket/base language, but it sounds like you're describing =~ from the teaching languages: http://docs.racket-lang.org/htdp-langs/advanced.html?q=%3D~#(def._(lib._htdp-advanced..rkt._lang)._((lib._lang/htdp-advanced..rkt)._~3d~7e))
Posted on the users mailing list. |
|