Exception trying to use a macro within proxy

2009-06-18 Thread Jeff Dik
Hi, I'm trying to look at events thrown by COM automation objects using com4j and clojure and am trying to use macros to clean up my code. Here is a small script that works without macros: (use 'clojure.contrib.str-utils) (def ie (SHDocVw.ClassFactory/createInternetExplorer)) (.visib

Re: Exception trying to use a macro within proxy

2009-06-18 Thread Jeff Dik
On Thu, Jun 18, 2009 at 11:33:54AM -0700, hoeck wrote: > > Hi, > > proxy is a macro, where you supply the method definitions according to > its docstring in the following format: > > user> (doc proxy) > ... > f => (name [params*] body) or > (name ([params*] body) ([params+] body) ...) >

Question about "The whole language is there, all of the time."

2009-12-09 Thread Jeff Dik
Hi, I've been rereading "Programming Clojure" and on page 25 it says The whole language is there, all the time. Paul Graham's essay "Revenge of the Nerds" explains why this is so powerful. So, I read Paul Graham's essay, and the relevant section seems to be The whole language there

Re: Question about "The whole language is there, all of the time."

2009-12-18 Thread Jeff Dik
On Wed, Dec 09, 2009 at 02:35:24PM -0800, Joost wrote: > On 9 dec, 17:03, Jeff Dik wrote: > > The part "Running code at read-time lets users reprogram Lisp's > > syntax" caught my attention.  Is this talking about reader macros?  I > > believe I read that cl

Re: Radically simplified Emacs and SLIME setup

2011-06-09 Thread Jeff Dik
On Wed, Jun 8, 2011 at 8:36 PM, Mark Engelberg wrote: > It's been a couple of weeks, so I thought I'd check in and see whether > anyone has yet been successful at using the new clojure-jack-in > process on Windows.  Did the 1.9.2 release successfully resolve the > "cannot find the path specified"

Re: Radically simplified Emacs and SLIME setup

2011-06-17 Thread Jeff Dik
Phil, This works for me! Thanks! Jeff On Sun, Jun 12, 2011 at 7:51 PM, Phil Hagelberg wrote: > On Jun 12, 10:58 am, Mark Engelberg wrote: >> I take that back (I had edited the wrong file, which wasn't the one my >> emacs was using). >> >> I get the error "Not enough arguments for format strin

Re: Radically simplified Emacs and SLIME setup

2011-06-17 Thread Jeff Dik
Mark, I got this same error when I copied and pasted the clojure-jack-in function from gmail. I had to remove newlines from (search-backward "slime-load-hook") and (slime-connect "localhost" clojure-swank-port) Hope that helps, Jeff On Sun, Jun 12, 2011 at 8:50 PM, Mark Engelberg wrote: > e

Re: The Last Programming Language

2011-07-21 Thread Jeff Dik
On Tue, Jul 19, 2011 at 9:04 PM, daly wrote: > On Tue, 2011-07-19 at 20:14 -0400, Adam Richardson wrote: >> On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt wrote: >>         What's this awk-a-mel he speaks of?  Ocaml, pronounced >>         oh-camel, I >>         know very well, but I've never heard o

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jeff Dik
On Sun, Dec 23, 2012 at 7:21 PM, Toby Crawley wrote: > > Sean Corfield writes: > >> On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis >> wrote: >>> Also `lein swank` appears to be failing on Leiningen 2.0.0-preview10: >>> Exception in thread "main" java.lang.IllegalArgumentException: No matching

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jeff Dik
On Sun, Dec 23, 2012 at 10:21 PM, Toby Crawley wrote: > > Jeff Dik writes: >> >> This is also working for me with clojure 1.5.0-RC1: >> https://clojars.org/org.clojars.chouser/lein-swank > > The change to lein-swank to load the proper swank-clojure is already on >

Re: clojure clr files ?????

2012-01-13 Thread Jeff Dik
On Fri, Jan 13, 2012 at 2:21 PM, jayvandal wrote: > I have installed clr in a folder called "clr" and have net installed. > I can click on main exe and get the clr to give me a repl . When I get > ready to create the ui. file in the example where am  i storing files > In leiningen i create a folde

Re: clojure clr files ?????

2012-01-14 Thread Jeff Dik
nvironment variable is often more convenient, so that you only have to type Clojure.Main.exe instead of the full path to Clojure.Main.exe. Hope this helps, Jeff > - Original Message - From: "Jeff Dik" > To: > Sent: Friday, January 13, 2012 2:43 PM > Subject: Re: c