Re: [?] Adding my own function to clojure.core namespace

2018-02-25 Thread Philos Kim
Thanks both of you! I know it is not desirable but it is sometimes needed, especially in my case. For example , I wrote debux ( https://github.com/philoskim/debux )  library. I want to use it only in development, not in production. If I 'require' debux in source code to use it in development, I

Re: [?] Adding my own function to clojure.core namespace

2018-02-25 Thread Mikhail Gusarov
Hello Philos, > For example , I wrote debux ( https://github.com/philoskim/debux )  > library. I want to use it only in development, not in production. If I > 'require' debux in source code to use it in development, I have to > remove it in the source code manually in production. Do you intend

Re: [?] Adding my own function to clojure.core namespace

2018-02-25 Thread James Reeves
On 25 February 2018 at 12:01, Philos Kim wrote: > I know it is not desirable but it is sometimes needed, especially in my > case. > > For example , I wrote debux ( https://github.com/philoskim/debux )  > library. I want to use it only in development, not in production. If I > 'require' debux in s

Is there some central information available on Java 9 compatibility for Clojure and tools

2018-02-25 Thread Arie van Wingerden
Some time ago I tried Java 9 and reverted back to 8 when I ran into problems. Is there conclusive info on the versions which will definitely (not) work correctly with Java 9? - Clojure itself - Leiningen - LightTable - etc. -- You received this message because you are subscribed to

Re: Is there some central information available on Java 9 compatibility for Clojure and tools

2018-02-25 Thread Stuart Sierra
There's no single source, but you can find issues with Clojure and contrib libraries by searching the Clojure JIRA for "Java 9". Toby Crawley started a small collection of known issues at github.com/tobias/clojure-java-9 –S On Sunday, February 25, 2018 at 11:01:

Re: [?] Adding my own function to clojure.core namespace

2018-02-25 Thread Philos Kim
I have another question. Debux library supports ClojureScript as well. Similarly, I want to add my own function or macro to cljs.core as in Clojure. Can I use the same strategy in ClojureScript as in Clojure if I use it in the ClojureScript source code, not in REPL? -- You received this messa

Re: The Reasoned Schemer chpt 4: "Please pass the aspirin"

2018-02-25 Thread Calvin Sauer
I'm currently struggling with the same question. Did you ever happen to reach a satisfying conclusion? On Saturday, May 25, 2013 at 1:21:08 PM UTC-4, Brian Craft wrote: > > Wondering if anyone can give me some pointers with this, as I dive into > logic programming. Or point me to a more appropri

Re: The Reasoned Schemer chpt 4: "Please pass the aspirin"

2018-02-25 Thread Peter Hull
On Sunday, 25 February 2018 17:46:26 UTC, Calvin Sauer wrote: > > I'm currently struggling with the same question. Did you ever happen to > reach a satisfying conclusion? > https://groups.google.com/forum/#!topic/minikanren/JCKJV7k7lGU -- You received this message because you are subscribed to

Re: [?] Adding my own function to clojure.core namespace

2018-02-25 Thread Gary Fredericks
For clojure (not cljs, yet) I proxy all the dev utilities I might want to use in a namespace called `.` so I can refer to it everywhere no matter what the local namespace setup is: https://github.com/gfredericks/dot-slash-2 On Sunday, February 25, 2018 at 11:45:41 AM UTC-6, Philos Kim wrote: >

Transitive spec generation

2018-02-25 Thread James Gatannah
I have a spec for an array of 16 bytes: (s/def ::extension (s/and bytes? #(= (count %) 16)) Then I have a couple of other specs that are really just renaming it: (s/def ::client-extension ::extension) (s/def ::server-extension ::extension) I started doing

Re: Is there some central information available on Java 9 compatibility for Clojure and tools

2018-02-25 Thread Ghadi Shayban
Clojure always worked on Java 9 but lein and boot were broken for a while. Now they're fixed. The only remaining defect is the inability for Clojure to call static interface methods which are a new thing in Java 8. The bytecode verifier in Java 9 added a small backwards incompatible check that

[ANN] clj 1.9.0.348 and tools.deps.alpha 0.5.398

2018-02-25 Thread Alex Miller
New releases of tools.deps.alpha and the Clojure tools (clj, clojure) are now available. clj 1.9.0.348 updates: - Added -Scp option to skip computing a classpath and use the provided one - Added -Sdescribe to output config env and parsed arg info as data - Added --prefix to linux-install.sh (INS