To supply callback function from clojure to java method expecting a lambda with interop

2015-09-19 Thread Nagarajan N
I started using clojure since last year. I like the language. It even made me more familiar with java. Before I detested java. Am moderately familiar with clojure way of making interop calls to java libraries. But I have no idea how to interop with a java library implementing java 8 lambdas as

Re: cider-nrepl not installed (emacs24)

2015-09-19 Thread Artur Malabarba
Try deleting cider, restarting Emacs, and installing it again. If you had an old version of dash.el installed it may have caused a bad byte-compilation. 2015-09-20 0:20 GMT+01:00 Jeff Bauer : > Thanks, Richard. That got the process started, but it then aborted with: > > error in process filt

Re: Using metadata to specify how calls to a macro should be indented

2015-09-19 Thread Artur Malabarba
Nice. It's good to see that it's so similar. Apparently they use a separate spec for grouping args as well. 2015-09-17 8:28 GMT+01:00 Jozef Wagner : > Dunaj uses metadata to guide IDEs and pretty printer regarding > indentations, arg grouping, ... > > http://www.dunaj.org/metadata.html#_indentati

Re: Using metadata to specify how calls to a macro should be indented

2015-09-19 Thread Artur Malabarba
Hi Chas, This is a questionable proposal. It: > > * introduces completely orthogonal, transient concerns (presentation) into > code, ideally a canonical, long-lived source-of-truth > Yes, I'm ok with that. No one is better equipped to define a macro's indentation than it's author, and the metadat

Re: cider-nrepl not installed (emacs24)

2015-09-19 Thread Jeff Bauer
Thanks, Richard. That got the process started, but it then aborted with: error in process filter: nrepl-log-message: Wrong number of arguments: (1 . 1), 0 Since I'm starting with Clojure and there's a users meeting in a couple days, I'll bring my laptop out to the meeting. There's no rush

Re: [ANN] LispCast Single Page Applications with ClojureScript and Om

2015-09-19 Thread Eric Normand
Hi Tj, Thanks for the kind words! I'm really glad you liked the course. It seems like you understood what I was trying to do. And I'm happy to hear that someone got so much benefit from my work. And you sound like a nice person! I hope to meet you some day. Thanks again. Rock on! Eric On Sat

Re: cider-nrepl not installed (emacs24)

2015-09-19 Thread Richard Norton
I ran into a similar problem. Ended up following the advice here: - https://github.com/clojure-emacs/cider-nrepl Setting ~/.lein/profiles.clj to this helped: {:user {:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]]}} HTH, Richard On Sat, Sep 19, 2015 at 8:12 AM, Jeff Bauer wrote: > From ema

Re: cider-nrepl not installed (emacs24)

2015-09-19 Thread Bozhidar Batsov
It's usually a good idea to get familiar with the first few sections of any project's README. :-) On 19 September 2015 at 19:04, Mauricio Aldazosa < mauricio.aldaz...@gmail.com> wrote: > Hi, > > cider-nrepl is some middleware that sits outside emacs. You can use it via > leiningen or boot. Take a

Re: [ANN] com.stuartsierra/component 0.3.0 now with ClojureScript

2015-09-19 Thread Leon Grapenthin
Thanks for the release. Given that you were originally sceptical towards CLJS support, is there a particular application or use case that made your change your mind? Kind regards, Leon. On Friday, September 18, 2015 at 10:51:19 PM UTC+2, Stuart Sierra wrote: > > 'Component' - lifecycle and dep

Re: cider-nrepl not installed (emacs24)

2015-09-19 Thread Mauricio Aldazosa
Hi, cider-nrepl is some middleware that sits outside emacs. You can use it via leiningen or boot. Take a look at the instructions here: https://github.com/clojure-emacs/cider#cider-nrepl-middleware Happy hacking, Mauricio ​ -- You received this message because you are subscribed to the Google

cider-nrepl not installed (emacs24)

2015-09-19 Thread Jeff Bauer
>From emac24 I installed the cider package from melpa, but get the following warning when running the repl: ; CIDER 0.10.0snapshot (package: 20150918.919) (Java 1.7.0_79, Clojure 1.7.0, nREPL 0.2.10) WARNING: The following required nREPL ops are not supported: apropos classpath complete eldoc f

Re: Joxa (Re: Clojure on an Erlang-vm-os on Xen?)

2015-09-19 Thread Sebastian Bensusan
Hola Juan, First, I want to stress that my Erlang skills are very weak and most of what I say is speculation -> add AFAIK to every statement. 1. Data structures, deftype, defrecord New data structures(deftype, defrecord) can follow the Erlang convention of using records and then naming them wi

Re: [ANN] LispCast Single Page Applications with ClojureScript and Om

2015-09-19 Thread Tj Gabbour
I asked to purchase it last Tuesday to coincide with my rare vacation, and Eric happily obliged. Everyone’s different so YMMV; but using Kathy Sierra’s terms I feel more of a “badass,” having gained a couple “superpowers”: - able to part