Skip to content

Instantly share code, notes, and snippets.

@ifesdjeen
Last active Aug 29, 2015
Embed
What would you like to do?
(defn almost=
"Non-strict equality"
[wat center tolerance]
(and (>= wat (- center tolerance))
(<= wat (+ center tolerance))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment