Re: (memoize) and recursive functions (Clojure 1.2)

2011-04-01 Thread Laurent PETIT
2011/4/1 Ken Wesson kwess...@gmail.com On Thu, Mar 31, 2011 at 3:24 PM, Laurent PETIT laurent.pe...@gmail.com wrote: 2011/3/31 Ken Wesson kwess...@gmail.com On Wed, Mar 30, 2011 at 12:02 PM, Laurent PETIT laurent.pe...@gmail.com wrote: Except in 1.3 it will be a little bit harder

Re: NB/Enclojure issues

2011-04-01 Thread Laurent PETIT
You should really consider adding a ;tldr section in your posts ... 2011/4/1 Ken Wesson kwess...@gmail.com (I'm aware that there's a separate Enclojure Google Group but it seems to get very little traffic, and I've seen similar issues to mine raised there for literally years without seeing an

Re: Basic compilation question

2011-04-01 Thread MohanR
The correct syntax works. So basically if the swank-clojure-classpath has the required jar I should be able to import it in this way. The classpath seems to be tripping me up again. Thanks, Mohan On Mar 31, 5:12 pm, Meikel Brandmeyer m...@kotka.de wrote: Hi, On 31 Mrz., 13:20, MohanR

Re: Announcement: flutter - hiccup-based form field generation

2011-04-01 Thread Joost
I just pushed release 0.0.2, which has many improvements and a bit more documentation on the API. If you're interested, please take a look and let me know if you have any questions or remarks. Cheers, Joost Diepenmaat. -- You received this message because you are subscribed to the Google

Re: (memoize) and recursive functions (Clojure 1.2)

2011-04-01 Thread Ken Wesson
On Fri, Apr 1, 2011 at 1:59 AM, Laurent PETIT laurent.pe...@gmail.com wrote: 2011/4/1 Ken Wesson kwess...@gmail.com On Thu, Mar 31, 2011 at 3:24 PM, Laurent PETIT laurent.pe...@gmail.com wrote: 2011/3/31 Ken Wesson kwess...@gmail.com On Wed, Mar 30, 2011 at 12:02 PM, Laurent PETIT

Re: NB/Enclojure issues

2011-04-01 Thread Ken Wesson
On Fri, Apr 1, 2011 at 2:02 AM, Laurent PETIT laurent.pe...@gmail.com wrote: You should really consider adding a ;tldr section in your posts ... What? And why do you seem to be trying to redirect replies to your on-list posts to your personal email? -- You received this message because you

Re: (memoize) and recursive functions (Clojure 1.2)

2011-04-01 Thread Laurent PETIT
2011/4/1 Ken Wesson kwess...@gmail.com On Fri, Apr 1, 2011 at 1:59 AM, Laurent PETIT laurent.pe...@gmail.com wrote: 2011/4/1 Ken Wesson kwess...@gmail.com On Thu, Mar 31, 2011 at 3:24 PM, Laurent PETIT laurent.pe...@gmail.com wrote: 2011/3/31 Ken Wesson kwess...@gmail.com On

Re: NB/Enclojure issues

2011-04-01 Thread Laurent PETIT
2011/4/1 Ken Wesson kwess...@gmail.com On Fri, Apr 1, 2011 at 2:02 AM, Laurent PETIT laurent.pe...@gmail.com wrote: You should really consider adding a ;tldr section in your posts ... What? ;tldr means too long, didn't read (I discovered this recently) and it acts as a sort of the start

Re: NB/Enclojure issues

2011-04-01 Thread Meikel Brandmeyer
Hi, On 1 Apr., 11:01, Laurent PETIT laurent.pe...@gmail.com wrote: ;tldr means too long, didn't read (I discovered this recently) and it acts as a sort of the start of a short section at the end of a long post where people not having time to read it in its entirety can see a summary. For

Re: NB/Enclojure issues

2011-04-01 Thread Chas Emerick
On Apr 1, 2011, at 5:29 AM, Meikel Brandmeyer wrote: Hi, On 1 Apr., 11:01, Laurent PETIT laurent.pe...@gmail.com wrote: ;tldr means too long, didn't read (I discovered this recently) and it acts as a sort of the start of a short section at the end of a long post where people not having

definterface / gen-class constructor issue - alpha4

2011-04-01 Thread Jules
Guys, I've come across an annoying issue that has cost me some tie - so I thought I would post it in case anyone else has the same problem or a better solution - or perhaps I am just doing it wrong :-) ? If I had more time I would write a testcase and try to reduce it further but I haven't

Re: NB/Enclojure issues

2011-04-01 Thread Armando Blancas
That's how it is with these bloated IDEs. My day job is mainly Eclipse plug-in/rcp dev, so I'm also guilty of putting an absurd burden on others (disk footprint, startup time, memory use, unresponsiveness), but that's what's passes for effective tooling these days. On Apr 1, 4:10 am, Chas Emerick

Re: NB/Enclojure issues

2011-04-01 Thread Chas Emerick
On the contrary, I've found Eclipse to be very responsive and pleasant to use, having now used it exclusively for the past 8 months or so and been particularly productive with it. I'll absolutely grant that the plugin/RCP development lifecycle is painful, but if you're lucky enough to avoid

Re: NB/Enclojure issues

2011-04-01 Thread Laurent PETIT
2011/4/1 Chas Emerick cemer...@snowtide.com On the contrary, I've found Eclipse to be very responsive and pleasant to use, having now used it exclusively for the past 8 months or so and been particularly productive with it. I'll absolutely grant that the plugin/RCP development lifecycle is

Re: NB/Enclojure issues

2011-04-01 Thread Armando Blancas
 I particularly like the bleeding-edge attention Amazon gives to their AWS plugin[1] and the GUI builders that Google open-sourced sometime last year[2]. Well, those gui builders are now free of charge, so there's something to like right there. If that were the way products get built, or even

clojure-clr - getting started on Windows WPF

2011-04-01 Thread kjeldahl
I'm toying around with clojure-clr, and it seems to work great. But getting started is a bit challenging to say the least (which may very well be because of me beeing rookie with .net/clr as well). Anyway, I've managed to find an example using the Windows Forms API, a simple hello world example:

Re: ANN: status-codes keyword status codes for compojure

2011-04-01 Thread Hubert Iwaniuk
New version is out v0.2 featuring dependency on latest and greatest of compojure and special response code for today. 418 I'm a teapot Cheers, Hubert Iwaniuk. On Mar 31, 2011, at 11:51 PM, Hubert Iwaniuk wrote: status-codes allows you to report HTTP Response Status Codes as keywords like

Example to introspect a class

2011-04-01 Thread Mushfaque Chowdhury
Hi I'm trying to solve a introspection problem of the following type (def Region {'fields '((datatype x) (datatype y))}) (def Country {'fields '((int x) (double y {reference `Region}))}) I'd like to introspect the fields from Country and see {reference Region} replaced by (reference ((datatype

clearly, I'm too dense to upgrade slime/swank/clojure-mode... help?

2011-04-01 Thread B Smith-Mannschott
Some months ago my ability to send non-ascii characters to clojure running in a swank server started with maven clojure:swank broke, despite the fact that I'm doing this: (set-language-environment UTF-8) (setq slime-net-coding-system 'utf-8-unix) In my .emacs file as suggested back in June

Re: using clojure for (java) code generation; advice sought

2011-04-01 Thread B Smith-Mannschott
On Wed, Mar 30, 2011 at 15:00, Stuart Sierra the.stuart.sie...@gmail.com wrote: Take a look at http://www.stringtemplate.org/ for a Turing-complete, purely-functional, Java-based template language designed for code generation. Thanks! This is actually the second time I've run across

Re: using clojure for (java) code generation; advice sought

2011-04-01 Thread B Smith-Mannschott
On Thu, Mar 31, 2011 at 05:00, Eli Barzilay e...@barzilay.org wrote: On Tue, Mar 29, 2011 at 4:43 PM, B Smith-Mannschott wrote: Horrible hack, maybe, but it got me thinking. What you seem to be doing is moving between code and literal mode by quoting with #. This is a little like traditional

Re: clearly, I'm too dense to upgrade slime/swank/clojure-mode... help?

2011-04-01 Thread Dennis Crenshaw
I have a problem with swank with an upgrade recently, clojure1.3-alpha5 works, clojure-1.3alpha6 does not, to my knowledge-- which Clojure version are you using in your project? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group,

Re: clearly, I'm too dense to upgrade slime/swank/clojure-mode... help?

2011-04-01 Thread B Smith-Mannschott
On Fri, Apr 1, 2011 at 22:23, Dennis Crenshaw crensha...@gmail.com wrote: I have a problem with swank with an upgrade recently, clojure1.3-alpha5 works, clojure-1.3alpha6 does not, to my knowledge-- which Clojure version are you using in your project? Silly me, I forgot to mention that. I'm on

Re: Example to introspect a class

2011-04-01 Thread Armando Blancas
You'd have to not back-quote Region and then eval the reseult: user= (def Country {'fields '((int x) (double y {reference Region}))}) #'user/Country user= ((nth (nth (Country 'fields) 1) 2) 'reference) Region user= (eval ((nth (nth (Country 'fields) 1) 2) 'reference) ) {fields ((datatype x)

Re: clearly, I'm too dense to upgrade slime/swank/clojure-mode... help?

2011-04-01 Thread B Smith-Mannschott
(I'm using Clojure 1.2.0; I neglected to mention that in my first message.) I was able to upgrade to clojure-mode 1.8.0 and clojure-test-mode 1.5.4 after installing a later package.el 0.9 than the one I had installed previously: commit e47f392dd688ac5f7bb06eeb96b7a29d95de1ce7 Author: Phil

Re: Example to introspect a class

2011-04-01 Thread Ken Wesson
On Fri, Apr 1, 2011 at 10:56 AM, Mushfaque Chowdhury mushfaque.chowdh...@googlemail.com wrote: Hi I'm trying to solve a introspection problem of the following type (def Region {'fields '((datatype x) (datatype y))}) (def Country {'fields '((int x) (double y {reference `Region}))}) I'd

Re: using clojure for (java) code generation; advice sought

2011-04-01 Thread Eli Barzilay
On Apr 1, 4:23 pm, B Smith-Mannschott bsmith.o...@gmail.com wrote: Thanks very much for the link. I'm enjoying the paper. When I've addressed my immediate needs (with stringtemplate), I hope to return to it again in more depth. I have this notion, that an alternate reader for Clojure in the

Emacs `align' function customization for Clojure

2011-04-01 Thread Christian Schuhegger
I am replying to this thread from January this year: https://groups.google.com/group/clojure/browse_frm/thread/47c388127e0da3ef I am not certain if my solution fulfills the aesthetic requirements of clojure hackers, but I use one of my old C/C++ marcros for aligning equal signs to align at commas