Re: Understanding init (the zero arity function) for transducers.

2016-03-10 Thread Patrick Curran
nput = 5 > > ; map-t [result input] post: result = nil > > ; filter-t [result input] post: result = nil > > > > ; filter-t [result] pre: result = nil > > ; map-t [result] pre: result = nil > > ; map-t [result] post: result = nil > > ;

Re: Understanding init (the zero arity function) for transducers.

2016-03-08 Thread Patrick Curran
3 PM UTC-5, Alex Miller wrote: > > I think that Rich had an objection to this, however in the haziness of > time I don't recall specifically what it was. If I get a chance, I will ask > him this week. > > On Monday, February 29, 2016 at 3:27:15 PM UTC-6, Patrick Curran wrote:

Understanding init (the zero arity function) for transducers.

2016-02-29 Thread Patrick Curran
Hi, I was trying to write a transducer and the 0-arity part of it never got called, which was unexpected. I did some searching and found this post: https://groups.google.com/forum/#!msg/clojure/uVKP4_0KMwQ/-oUJahvUarIJ. What Dan is proposing in that post would essentially solve my problem, but

Re: Clojure in Emacs Seemingly Impossible

2011-09-11 Thread Curran
setup, thanks again for the support. Best, Curran On Sep 11, 5:13 am, Sean Toner placeofthe...@gmail.com wrote: Hi Curran, I'm in the process of learning Clojure and emacs as well and have run into a bit of difficulty as well, though I have a slightly different problem.  I grabbed the 23.3

Clojure in Emacs Seemingly Impossible

2011-09-10 Thread Curran
, but I don't know which to try first). Thank you very much. Best regards, Curran -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please

Re: 3D Grapher in Clojure

2009-05-16 Thread Curran Kelleher
, it's not at all obvious. I plan on including one in future releases. Anyway, thanks for checking it out! Best, Curran On May 15, 3:28 pm, MikeM michael.messini...@invista.com wrote: Nice! I had to learn a bit about jogl to get it to work - had to add - Djava.library.path={path to my jogl

3D Grapher in Clojure

2009-05-14 Thread Curran Kelleher
): http://curransoft.com/code/liquidmath-20090513.zip A writeup (with screenshot) of it is here: http://lifeofaprogrammergeek.blogspot.com/2009/05/3d-grapher-in-clojure.html You folks on this mailing list have helped me a lot in learning Clojure and doing this project, thanks! Best, Curran

Documentation Flaw for binding

2009-05-12 Thread Curran Kelleher
meaning of that sentence? Thanks to everyone for being such a vibrant community. Clojure rocks! Best, Curran --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Yet Another Swing Example

2009-05-11 Thread Curran Kelleher
namespaces. I think it should (ideally) be possible to reference namespaces that are currently loaded, without the need to have them on the classpath. Have a great day! Curran On May 11, 7:26 am, fendres 198...@web.de wrote: On May 8, 4:25 am, Curran Kelleher curran.kelle...@gmail.com wrote: Hello

Re: Yet Another Swing Example

2009-05-11 Thread Curran Kelleher
Aha! I discovered a solution to the window-closing problem mentioned above: calling (.dispose frame) on the window closing event will cause the application to exit when running independently (I guess because it causes everything to be garbage collected thus the VM terminates (?) ) , but doesn't

Yet Another Swing Example

2009-05-07 Thread Curran Kelleher
, Curran Here's the code: ;A test program exploring how to structure GUI code in Clojure ;The GUI draws whatever you type in the text field nicely in the panel below. ;license: Public domain (import '(javax.swing JFrame JLabel JTextField JButton JPanel) '(java.awt.event ActionListener

Re: Every function is a thread in Clojure?

2009-04-04 Thread Curran Kelleher
Indeed! this is a perfect discussion - great clarifications to a worthy question On Apr 4, 9:14 am, Rayne disciplera...@gmail.com wrote: Never be sorry about being curious. On Apr 3, 10:06 am, Berlin Brown berlin.br...@gmail.com wrote: On Apr 3, 10:09 am, Stuart Halloway

The Game Loop ... the Clojure way?

2009-04-03 Thread Curran Kelleher
animator animation)) (defn stop-animation [] (send animator (fn [x] false))) ;for SLIME (comment (start-animation) (stop-animation) ) Thanks a lot! Clojure is a blast! Best, Curran Kelleher --~--~-~--~~~---~--~~ You received this message because you

Fresh Clojure Tutorial

2009-03-29 Thread Curran Kelleher
Hello, I've created an introductory tutorial for Clojure and Emacs here: http://lifeofaprogrammergeek.blogspot.com/2009/03/learning-clojure-and-emacs.html I just wanted to let the community know, maybe it should be linked to in the wiki? Best, Curran

Slime bug

2009-03-27 Thread Curran Kelleher
. Is this the right place to report this bug? I installed SLIME for Clojure following the instructions at http://riddell.us/tutorial/slime_swank/slime_swank.html I'm a Java programmer trying to grok Clojure, so far I am very very impressed. Many kudos to the Clojure folks! Best regards, Curran