Linux Bash script to start clojure

2014-11-30 Thread Cecil Westerhof
I made a Bash script to start clojure, both the REPL and a script. When starting a script it uses an initialisation file if it exists. https://github.com/CecilWesterhof/BashLibrary/blob/master/bin/clojure -- Cecil Westerhof -- You received this message because you are subscribed to the Google

unable to load mydocemacs on Lisp Cabinet on XP any help, pls?

2014-11-30 Thread Sylver Stone
Hi, group: I´m trying with Lisp Cabinet on XP (unable to set a proper environment for learning Clojure (/emacs/slime/) on e.g. Fedora (though that´s other (sad) story). I tried the to-usb´installation option for testing purposes anyway but got into the following issues: (If someone familiar with

ANN: Om 0.8.0-beta1, improved multimethod support

2014-11-30 Thread David Nolen
The only change between this release and the previous 0.8.0 alphas is improved support for multimethods as component constructor functions. Previously if methods returned different reify instances mount/unmount life-cycle methods would not be invoked as expected. Feedback welcome! https://github.

Attempting to import class from a non-standard location [interop]

2014-11-30 Thread John Bohn
Hi all, I'm trying to import a class from a non-standard location.. Specifically, I'm trying to import PhoneNumberToCarrierMapper from libphonenumber and am receiving the following error: Exception in thread "main" java.lang.ClassNotFoundException: com.google.i18n .phonenumbers.PhoneNumberToCarr

"rest" arguments and desctructuring / nil vs. empty

2014-11-30 Thread Mike Fikes
For "rest" arguments, as in (defn foo [x & r] r), when the remaining arguments are rolled up into a sequence, you will get nil instead of an empty sequence. Is it fair to say that the "rest" nomenclature came about back at the beginning of Clojure, when rest really did return nil, prior to the

Re: Linux Bash script to start clojure

2014-11-30 Thread James Reeves
Do you know about Leiningen and lein-exec? - James On 30 November 2014 at 12:41, Cecil Westerhof wrote: > I made a Bash script to start clojure, both the REPL and a script. When > starting a script it uses an initialisation file if it exists. > > https://github.com/CecilWesterhof/BashLibrary/bl

Re: Attempting to import class from a non-standard location [interop]

2014-11-30 Thread Steven Yi
Hi John, Could this maybe just be a dependencies problem? It seems you're trying to use classes from two different libraries: com.googlecode.libphonenumber/libphonenumber com.googlecode.libphonenumber/carrier If checking the dependencies for your build doesn't solve it, could you explain a li