[ANN] tentacles fork on clojars - raynes' legacy lives on!

2017-03-18 Thread James Laver
Hi all, Further to previous discussions, we (the irresponsible clojure guild) have forked tentacles and intend to keep it maintained and improved. This is our first release of tentacles under the irresponsible group and we have resumed versioning from Raynes' versions. github: https://gthub.co

Re: No :out in my nREPL responses

2017-03-18 Thread Terje Dahl
Hey, Collin. By "standard" REPL I mean "clojure.main REPL in JVM" - which worked fine. I don't think my issue has anything to do with Cursive's way of connecting to nREPL, but rather with nREPL itself, seeing as had the same problem in a terminal window running `lein repl`. Terje On Friday,

Re: Defrecord Conflict

2017-03-18 Thread tmountain
Thank you. Stupid typo on my part. This works! On Friday, March 17, 2017 at 7:35:07 PM UTC-4, Francis Avila wrote: > > Import does not demand name mapping. You can import a full path without > aliasing. This will work fine: > > (ns multi.core > (:require [multi.ns1] > [multi.ns2])

Re: [ANN] tentacles fork on clojars - raynes' legacy lives on!

2017-03-18 Thread James Laver
Oops, that went out with a boot-test dependency (thanks for the spot, coda hale!) Please find [irresponsible/tentacles "0.6.1"] on clojars. And this time I'll spell 'github' correctly: https://github.com/irresponsible/tentacles /j On Saturday, March 18, 2017 at 9:19:08 AM UTC+1, James Laver w

Dependency issue? "No such namespace: clojure.edn"

2017-03-18 Thread Jennifer Parsons
hi all. i’m working on an app that has a clojurescript frontend AND clojure backend. i’m having a problem with a dependency, i think. i’m getting this message: No such namespace: clojure.edn, could not locate clojure/edn.cljs, clojure/ edn.cljc, or Closure namespace “ i did `lein deps :tree

Re: Dependency issue? "No such namespace: clojure.edn"

2017-03-18 Thread Herwig Hochleitner
2017-03-18 16:15 GMT+01:00 Jennifer Parsons : > No such namespace: clojure.edn, could not locate clojure/edn.cljs, > clojure/edn.cljc, or Closure namespace “ The error message indicates, that a ClojureScript file tries to load clojure.edn, when that namespace is Clojure only. See http://stackoverf

[beginner] help understand this function

2017-03-18 Thread Luis P. Mendes
Hi, I'm reading `Clojure for the Brave and True` book, at chapter 6 . I don't completely understand this function: (defn comparator-over-maps [comparison-fn ks] (fn [maps] (zipmap ks (map (fn [k] (apply compariso

invokePrim(J)Ljava/lang/Object

2017-03-18 Thread Thalys Aguiar Gomes
Someone could explain me why i'm having this problem? MBP-de-Thalys:~ thalys$ lein repl nREPL server started on port 61763 on host 127.0.0.1 - nrepl://127.0.0.1:61763 REPL-y 0.3.7, nREPL 0.2.12 Clojure 1.8.0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_102-b14 Docs: (doc function-name-here)

Re: [beginner] help understand this function

2017-03-18 Thread Walter van der Laan
The value of 'maps' can be, for example; [{:lat 1 :lng 4} {:lat 2 :lng 3}]. If you enter (min [{:lat 1 :lng 4} {:lat 2 :lng 3}]) in the repl the result will be {:lat 1 :lng 3} If you replace 'min' by its definition you get; (min [{:lat 1 :lng 4} {:lat 2 :lng 3}]) => (zipmap [:lat :lng] (

Re: invokePrim(J)Ljava/lang/Object

2017-03-18 Thread Matching Socks
What did you mean by the ^long before the function name? If it is a hint of the return type, see https://clojure.org/reference/java_interop for the proper location. user> (defn integer-sum-to' ^long [^long n] (loop [i 1 sum 0] (if (<= i n) (recur (inc i) (+ i sum)) sum))) #'user/integer-sum-

Re: No :out in my nREPL responses

2017-03-18 Thread Colin Fleming
Sure, but it might be worth trying the bare nREPL option in Cursive to rule out something that lein could be doing. On 18 March 2017 at 21:44, Terje Dahl wrote: > Hey, Collin. > > By "standard" REPL I mean "clojure.main REPL in JVM" - which worked fine. > I don't think my issue has anything to d