Port of frozen-pie, the clojure way