Fork me on GitHub
#clojure
<
2018-08-10
>
Oliver George00:08:14

Came to mind while thinking about how tap> might be used. Perhaps it could be a mechanism to build richer debugging features (common lisp like?). If defn and let used tap> to announce var bindings and stack push/pop events you'd be able to track that stuff... which led to wondering how to patch defn/let... (No doubt I'm missing a lot of prior art in this. )

Alex Miller (Clojure team)02:08:36

Because Clojure itself is aot direct linked there are limits to what you can patch in core

benzap11:08:57

I remember reading a project which took the core ideas of clojure, and build a new set of standard libraries around it. I can't remember the name of the project though, since it seemed to have died off in popularity

jumar12:08:39

Should assertions be enabled by default when running app as a jar? We use leiningen to build an uberjar and then java -jar ... to run it and I've just found out that *assert* is true. I couldn't find what default value should this dynamic variable hold but I though it would be false. This lead to a nasty issue in combination with future where a "precondition assertion" error was silently ignored and we didn't know what happened (because we caught only Exception not Throwable)

bja14:08:36

@benzap I'm aware of two such projects. Dunaj (http://www.dunaj.org/) and Jaunt (https://github.com/jaunt-lang/jaunt). Of those, Jaunt is declared dead on its github and Dunaj has seen little activity since roughly Clojure 1.7.0 was released.

👍 4
benzap14:08:13

Yeah, I think it was the Dunaj one that I was looking at before

bja14:08:55

The other I would add to that would be Pixie, which isn't exactly a Clojure, but it does certain things in a way that are arguably cleaner or better.

bja14:08:02

although it also has no activity

benzap14:08:34

Yeah, the guy who was working on pixie hung out in the IRC, the dynamic nature of clojure was hard to replicate

benzap14:08:44

It was promising

bja14:08:22

Taking this to #off-topic

bronsa14:08:24

@tbaldridge would be the pixie guy :)

bronsa14:08:36

there's also #other-languages /#other-lisps FWIW

bja14:08:44

ooh, #other-lisps might be better

esanmiguelc23:08:10

Hi there, I’m using ring as a dependency [ring "1.6.3"] to my project and i’m getting:

java.io.FileNotFoundException: Could not locate ring/core/protocols__init.class or ring/core/protocols.clj on classpath.
Whenever I try to run it locally ( on my mac ). Any idea why that is? I’m using boot if that matters.

hiredman23:08:02

what do you mean by added it to your project? boot projects can be very free form

seancorfield23:08:21

Also, how are you running it locally? @esanmiguelc

esanmiguelc23:08:56

I figured it out, sorta? I am also using pandeiro/boot-http which depends on an older version of ring, 1.4.0. Once I changed the jar contents to depend on a newer version everything worked correctly. Basically running on a forked version of that project now.