Re: nailgun: simple example problem

2010-04-10 Thread Manfred Lotz
On Sat, 10 Apr 2010 15:10:58 -0700 Brendan Ribera wrote: > Try this instead: > ... > > > >:main *nailgun.*example) > > Thanks a lot. Yes :main nailgun.example) does work fine. -- Manfred -- You received this message because you are subscribed to the Google Groups "Clojure" gr

How to hide data representation with keywords for deftype accessor?

2010-04-10 Thread Sophie
(deftype A [x]) gives me an accessor (:x anA) Then I decide to change data representation of A without impacting client code, but I don't seem able to define a function (defn :x [anA] ...) Should I be doing something different? Thanks! -- You received this message because you are subscribed to

Re: Getting started with labrepl...

2010-04-10 Thread Douglas Philips
On 2010 Apr 10, at 3:11 AM, Mike Mazur wrote: On Sat, Apr 10, 2010 at 12:19, Douglas Philips wrote: Run lein deps: $ lein deps No project.clj found in this directory. You need to run `lein deps` from within the labrepl directory. If you clone the labrepl repo, project.clj will be there. H

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread DanL
On 11 Apr., 00:34, Ævar Arnfjörð Bjarmason wrote: > > As far as I know, there were problems with the protocol using symbols > > in CL's package::symbol syntax (and some other characters not being > > allowed in Clojure) after changes in CVS Slime about five months ago. > > So it would just need t

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread Ævar Arnfjörð Bjarmason
On Sat, Apr 10, 2010 at 21:49, DanL wrote: > On 10 Apr., 19:44, Ævar Arnfjörð Bjarmason wrote: >> I'm not familiar with the history but is there any reason why >> swank-clojure isn't being integrated into the SLIME distribution >> itself? That should make it easier to make it work out of the box.

Re: nailgun: simple example problem

2010-04-10 Thread Brendan Ribera
Try this instead: > > > (defproject example "0.1" > > >:description "Example application via nailgun" > > >:dependencies [[org.clojure/clojure > > > "1.1.0"] > > > [org.clojure/clojure-contrib > > > "1.0-SNAPSHOT"]] > > >:mai

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread DanL
On 10 Apr., 19:44, Ævar Arnfjörð Bjarmason wrote: > I'm not familiar with the history but is there any reason why > swank-clojure isn't being integrated into the SLIME distribution > itself? That should make it easier to make it work out of the box. As far as I know, there were problems with the

Re: Clojure Concurrency Screencast Available

2010-04-10 Thread Craig Andera
Mobile downloads are available now. Sorry about the delay. The refs module is also up, so that's five of six. Part six by mid next week. On Sat, Apr 10, 2010 at 9:26 AM, Craig Andera wrote: > Right, good point: I should have seen that coming given the target > audience. :) > > Within a few hours,

Re: nailgun: simple example problem

2010-04-10 Thread Manfred Lotz
Hi Phil, On Sat, 10 Apr 2010 09:54:29 -0700 Phil Hagelberg wrote: > On Sat, Apr 10, 2010 at 3:27 AM, Manfred Lotz > wrote: > > > > (defproject example "0.1" > >    :description "Example application via nailgun" > >  

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread Ævar Arnfjörð Bjarmason
On Sat, Apr 10, 2010 at 16:57, Phil Hagelberg wrote: > On Sat, Apr 10, 2010 at 9:10 AM, DanL wrote: >> Ideally, it should be made easy for both groups. > > A capital idea. Are you volunteering? =) What would be involved in that? The hack I have is just a monkeypatch on top of swank-clojure that

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread DanL
Hello! On 10 Apr., 18:57, Phil Hagelberg wrote: > > Like Ævar, I am not aware of any other language mode that makes the > > usual way of installing/configuring as hard asswank-clojure. That is > > why I use a pretty ancient version of it, which in turn prevents me > > from using the latest cvs s

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread Phil Hagelberg
On Sat, Apr 10, 2010 at 9:10 AM, DanL wrote: >> Usually installing Emacs Lisp packages like this is easy and requires >> 1-2 lines of Elisp in your ~/.emacs,swank-clojureis the exception. > > Like Ævar, I am not aware of any other language mode that makes the > usual way of installing/configuring

Re: nailgun: simple example problem

2010-04-10 Thread Phil Hagelberg
On Sat, Apr 10, 2010 at 3:27 AM, Manfred Lotz wrote: > > (defproject example "0.1" >    :description "Example application via nailgun" >    :dependencies [[org.clojure/clojure >                      "1.1.0"] >            

Re: Error when tried to compile with C-c C-k in emacs.

2010-04-10 Thread Phil Hagelberg
On Sat, Apr 10, 2010 at 1:16 AM, Stefan Kamphausen wrote: >> Understood. But I'm not one of those people. I'm lucky if I have a >> couple hours each week to work on this, and that time must be split >> between reviewing incoming contributions *and* writing new code. I >> hope you'll forgive me > >

Re: My non-ELPA Emacs swank-clojure setup

2010-04-10 Thread DanL
Hello! On 8 Apr., 18:36, Ævar Arnfjörð Bjarmason wrote: > > Both those options sound like an awful lot of work. I'm curious as to > > what advantages there are to this method over the original > > installation instructions. > > They're only a lot of work because the existing .el code all assumes

Re: Clojure Concurrency Screencast Available

2010-04-10 Thread Craig Andera
Right, good point: I should have seen that coming given the target audience. :) Within a few hours, a "mobile download" link will appear with wmvs and mp4s in a variety of resolutions so you can watch these offline on the device of your choosing. The conversion lags the rest of the process a littl

Re: Symbol resolution (between quote and eval/execution)

2010-04-10 Thread Douglas Philips
On 2010 Apr 10, at 1:42 AM, Per Vognsen wrote: On Sat, Apr 10, 2010 at 12:25 PM, Douglas Philips wrote: The differences between def and binding are also weird, since binding does not also shadow the meta-data on the var, so not only :macro will be wrong, but :file, :line, :arglists could a

nailgun: simple example problem

2010-04-10 Thread Manfred Lotz
Hi there, As a clojure newbie I tried to run a nailgun example from Phil Hagelburg which I found here in the archive. I created a directory example. In example I put a file project.clj (defproject example "0.1" :desc

Re: Error when tried to compile with C-c C-k in emacs.

2010-04-10 Thread Stefan Kamphausen
Hi, > Understood. But I'm not one of those people. I'm lucky if I have a > couple hours each week to work on this, and that time must be split > between reviewing incoming contributions *and* writing new code. I > hope you'll forgive me whoa, nothing to forgive here. I am very thankful for the w

Re: Getting started with labrepl...

2010-04-10 Thread Mike Mazur
Hi, On Sat, Apr 10, 2010 at 12:19, Douglas Philips wrote: >  Run lein deps: >  $ lein deps >  No project.clj found in this directory. You need to run `lein deps` from within the labrepl directory. If you clone the labrepl repo, project.clj will be there. HTH, Mike -- You received this message

Re: How do I call Foo.class?

2010-04-10 Thread Mike Mazur
Hi, On Sat, Apr 10, 2010 at 04:31, dknesek wrote: > So to be clear - I should be able to use: > > (. getEnrty entry-url PortfolioEntry) Is that typo in your code? s/getEnrty/getEntry/ Mike -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to