I took a swing at this using prismatic schema:
(ns schema-test.core
(:require [schema.core :as s]
[schema.utils :as utils]
[schema.coerce :as coerce])
(:import schema.core.NamedSchema))
(def Alternate (s/named [s/Keyword] "alternate"))
(def Path (s/named [(s/either s/
Are you tired of writing the same clj-http/cljs-https boilerplate? Looking
for an easy way to express an endpoint or a service API? Then "remote" is
the library for you!
Github: https://github.com/outpace/remote
Leiningen: [com.outpace/remote "0.3.1"]
This library has been closed source up unti
I want to fully understand what is going on before doing anything.
Interestingly if I convert the Java code below to Scala it fails to compile
with the same error :
def Onk(str: util.ArrayList[String]): String = {
println("String")
"erk"
}
def Onk(it: util.ArrayList[Integer]): Integer = {
Have you considered writing a wrapper method in Scala and calling that?
Thanks,
Ambrose
On Fri, Jun 26, 2015 at 7:24 PM, Stephen Wakely
wrote:
> Sorry about the double threads - I messed up and thought the original post
> didn't go through.
>
> Looking further into this it seems in Java generic
Sorry about the double threads - I messed up and thought the original post
didn't go through.
Looking further into this it seems in Java generics are largely a compile
time thing. The generic type information is wiped out from the type on
compile. So how does Java know which overload to call when
Have you looked at:
clojure.walk ?
clojure.zip ?
namespaces?
You could use either to traverse and set meta data.
There are also 'zipper' predicate libraries that do similar things as
'specter'
On Thursday, June 25, 2015 at 12:35:54 PM UTC-4, Brian Marick wrote:
>
> Suppose we have a structur