Re: This exception tip is a bit confusing.

2018-08-23 Thread
> > (assoc [3 4 5] 2 :a) > > => [3 4 :a] > > (assoc [3 4 5 3 :kdf1] 2 :a) > > => [3 4 :a 3 :kdf1] > > thank you. -- 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

This exception tip is a bit confusing.

2018-08-14 Thread
This exception tip is a bit confusing. (assoc [] :a 3) > > > IllegalArgumentException Key must be integer > clojure.lang.APersistentVector.assoc (APersistentVector.java:347) > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gro

Re: clojure test has 10 failures

2018-07-27 Thread
[java] Ran 635 tests containing 17442 assertions. [java] 0 failures, 0 errors. I'm terribly sorry. I made a low-grade mistake. I have no intention of deleting a variable in pr . Now all the tests are passed . -- You received this message because you are subscribed to the Google Grou

refactor clojure.core/destructure

2018-07-26 Thread
(defn gen-pvec [pb] (fn [bvec b val] (let [gvec (gensym "vec__") gseq (gensym "seq__") gfirst (gensym "first__") has-rest (some #{'&} b)] (loop [ret (let [ret (conj bvec gvec val)] (if has-rest (conj ret gseq (list

Re: clojure test has 10 failures

2018-07-24 Thread
(Throwable->map (Exception. "text")) => {:cause "text", :via [{:type java.lang.Exception, :message "text", :at [skyapi.core$eval49477 invokeStatic "form-init4673008911594595642.clj" 1]}], :trace [[skyapi.core$eval49477 invokeStatic "form-init4673008911594595642.clj" 1] [skyapi.core$eva

case bug

2018-07-24 Thread
(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

Re: clojure test has 10 failures

2018-07-24 Thread
true UTF-8 after add propertis utf 8 to pom.xml , Still the same. -- 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 pa

Re: clojure test has 10 failures

2018-07-24 Thread
win10 china(中国) jdk 1.8 mvn test -- 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

clojure test has 10 failures

2018-07-23 Thread
[java] Ran 635 tests containing 17442 assertions. [java] 10 failures, 0 errors. [java] Testing clojure.test-clojure.printer [java] [java] FAIL in (print-throwable) (printer.clj:124) [java] expected: (= (-> (Exception. "heyo") Throwable->map) (-> (Exception. "heyo") pr-

Re: [ANN] New Clojure story pages on clojure.org

2017-04-06 Thread
在 2017年4月6日星期四 UTC+8下午8:12:55,Jon Pither写道: > > We have also maintained a set of complimentary success stories here: > https://juxt.pro/clojure-in.html. The more Clojure success stories the > merrier! Thank you for your great work -- You received this message because you are subscribed to