Does anybody understand what is going on here?

(require '[clojure.core.matcher :refer [match]]
(import '[org.joda.time DateTimeZone DateTime])

(def dt (DateTime. 2013 02 12 4 30 0 (DateTimeZone/forOffsetHours -2)))
(def dt2 (clj-time.coerce/from-string "2013-02-12T04:30:00.000-02:00"))

(match dt dt2 true :else false)
;; => true
;; so far so good ..

(defn dt-matcher [dt]
  (fn [dt2]
    (match dt dt2 true :else false)))

((dt-matcher dt) dt2)
;; => false
;; ???

--
Joachim

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to