Hi Alex,
I tracked it down to a minimal example with an explanation here:
https://gist.github.com/sveri/1aaad9b12a8ec90d243206ab3b6073e3
The short version is. Running a specced function in the clj repl will
produce meaningful output, while running in the web context with immutant
will print a
On Sun, Jun 9, 2019 at 8:43 AM 'Sven Richter' via Clojure <
clojure@googlegroups.com> wrote:
> Hi Alex,
>
> I tracked it down to a minimal example with an explanation here:
> https://gist.github.com/sveri/1aaad9b12a8ec90d243206ab3b6073e3
>
> The short version is. Running a specced function in the
Am Sonntag, 9. Juni 2019 16:15:38 UTC+2 schrieb Alex Miller:
>
>
>
> On Sun, Jun 9, 2019 at 8:43 AM 'Sven Richter' via Clojure <
> clo...@googlegroups.com > wrote:
>
>>
>> I also tried to catch the exception and *(-> ex Throwable->map
>> clojure.main/ex-triage clojure.main/ex-str) *as you sugges
I've been stalking Clojure for a while but now doing it professionally
full-time (woo hoo!).
I saw a Stuart Halloway tweet responding to someone who'd found it a
"soul-crushing, miserable experience."
I had a similar miserable experience and figured it was just me, but am now
suspecting that's
Looks like the title for this is backwards if I understand the intent,
should be calling Clojure from Java, right?
Java code is going to invoke methods on classes (that's all it knows how to
do). You have several options:
1) Use the Clojure Java API to invoke the Clojure runtime - here you're
Oops, this should have be titled "Calling Clojure from Java" ... the
interop with Clojure calling Java is obviously well-worn and solid.
On Sunday, June 9, 2019 at 9:53:56 PM UTC-5, eglue wrote:
>
> I've been stalking Clojure for a while but now doing it professionally
> full-time (woo hoo!).
>
Regarding calling Clojure **from** Java...
I saw a Stuart Halloway tweet responding to someone who'd found this a
"soul-crushing, miserable experience."
I had a similar miserable experience and figured it was just me, but am now
suspecting that's not the case. (Happy to be shown the light howev
This is great, Alex, thanks. (Sorry, I deleted from underneath you and
reposted to fix the title before I saw your reply...)
The latter option, writing interfaces and classes in Java and calling w/
the glue code is a great option.
However one big motivator for people moving from Java to langs l