splitting out form for refactoring.

This commit is contained in:
Bryce Covert
2019-04-16 11:22:19 -07:00
parent d3dce3cd22
commit 3fd9a1c964
4 changed files with 408 additions and 361 deletions

View File

@@ -24,13 +24,12 @@
(fn [t]
(if (= (f t) (f x))
(do (reset! found? true)
(println "found" (f t) t (f x) x)
x)
x)
t))
xs)]
(if @found?
replaced
(conj replaced x))))
(into [x] replaced))))
(defn dollars-0? [amt]
(< -0.001 amt 0.001))