So am I! Sean, can you share code for condp->> too, please.
Oh, sorry, I thought it was obvious from condp-> since the only difference is
that it uses ->> instead of -> in one place:
(defmacro condp->>
"Takes an expression and a set of predicate/form pairs. Threads expr (via ->>)
through eac
Does he actually need a real arraylist, or will something fulfilling a
collection interface (Collection, Iterable, or List for example) be ok? Many
clojure types do not require any casting at all as long as the java code writes
to a collection interface and doesn't expect to be able to mutate th
My co-worker wrote an app in Java, which I call as a library within my own
app. His code is expecting an ArrayList, and up until now I've been handing
in an empty one like this:
accounts (java.util.ArrayList. 1000)
sentence-parse-response-map (.init instance-of-sentence-parser
Thanks, This solbved my problem.
Roelof
Op zondag 4 oktober 2015 11:51:49 UTC+2 schreef Moe Aboulkheir:
>
> Roelof,
>
> The function you're passing to reduce still wants to accept two
> arguments. See the documentation:
> https://clojuredocs.org/clojure.core/reduce
>
> Take care,
> Moe
>
> O
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
I would like to announce the first release of incognito [1]:
- From the README:
"Different Clojure(Script) serialization protocols like `edn`,
`fressian` or `transit` offer different ways to serialize custom
types. In general they fall back to
Hi all,
Is there any JAX-B alternative for Clojure that eases generation of XMLs
that are complaint with an XML schema and at the same time can be used in
Clojure, i.e., enables generation of Clojure maps?
Regards,
Timur
--
You received this message because you are subscribed to the Google
>
> Yes, your solution works, but only on clojure. ClojureScript doesn't have
> `resolve`. It there any portable solution?
>
>
I'm not sure if and how you can do it in ClojureScript... have you tried:
https://groups.google.com/forum/#!forum/clojurescript
cheers,
Gianluca
--
You received this
Roelof,
The function you're passing to reduce still wants to accept two arguments.
See the documentation: https://clojuredocs.org/clojure.core/reduce
Take care,
Moe
On Sun, Oct 4, 2015 at 8:40 AM, Roelof Wobben
wrote:
> Oke, then I hve to find out where to put the initial value.
>
> These two
Oke, then I hve to find out where to put the initial value.
These two do not work :
(reduce (fn [counter] (inc counter)) 0 [1,2,3])
(reduce (fn [counter] (inc counter) 0 ) [1,2,3])
Op zaterdag 3 oktober 2015 23:34:20 UTC+2 schreef Moe Aboulkheir:
>
> Roelof,
>
> Unless supplied with an init