As its docstring states, the `case` macro doesn't evaluate its test-constants.
It only works on compile-time constants (e.g. literal strings/numbers), to
allow O(1) matching. You want `condp` instead.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
(def rechargecardflowname "rechargecard")
(def rechargedirectflowname "rechargedirect")
(def procurementstockflowname "procurementstock")
(defn abolish-name [flowname]
(str "abolish1" flowname)
)
(defn report-rechargecard [billid]
)
(defn consume-msg [msgname billid]
(case msgname
re