Any way to get all problems?

2017-04-13 Thread Caocoa
Hello, clojure.spec/and only returns first problem for the sake of optimality but in some case (*i.e.* form validation) it's useful to get the full list of problems. Any idea how to achieve that? Actually I've written a tiny snippet for that which I put on GitHub (then I realised contribution

Re: Import java classes in clojure

2013-05-05 Thread Caocoa
Music in a clean way? But I've still a problem with javax :-( On Monday, May 6, 2013 12:04:39 AM UTC+2, Caocoa wrote: > > Hi all! I'm a new Clojure user. I'm trying to import some java classes in > order to use them with overtone, but I fail :/ Would you help me? > Th

Re: Import java classes in clojure

2013-05-05 Thread Caocoa
Note]) > #_=> (:import [jm.music.tools > #_=> Mod]) > #_=> (:import [jm JMC]) > #_=> (:import [jm.util Write])) > ClassNotFoundException javax.constraints.Problem > java.net.URLClassLoader$1.run (URLClassLoader.java:366) > but

Import java classes in clojure

2013-05-05 Thread Caocoa
Hi all! I'm a new Clojure user. I'm trying to import some java classes in order to use them with overtone, but I fail :/ Would you help me? Thanks a lot in advance for your answer. Here is the bug: > user=> (:import [javax.constraints > #_=> Problem > #_=> ProblemFactory > #_=>