Commit 66e08da2 authored by Johannes Knödtel's avatar Johannes Knödtel 🎶
Browse files

write more idiomatic code

parent a7f7c363
......@@ -36,7 +36,7 @@
(defn calculate-user-bills [bills paid]
(let [grouped (group-by :customer bills)]
(filter (comp not nil?)
(filter (complement nil?)
(map
(fn [bill-entry]
(let [customer (first bill-entry)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment