Hi folks,
Is there a way to specify default values for the fields of a
defrecord? Or barring that, is there a way to override or augment the
constructor for the record?
That is, if I have:
(defrecord Foo [a b c d e f g])
I want to be able to create a new Foo with:
(Foo.)
and have default
I don't know CL that well myself, but I think the convention is to use
+ for constants (i.e. defconst) where * is used for global variables
(i.e. defparameter). In that case the + convention doesn't really
make sense in clojure as it doesn't have any notion of a constant
reference type.
Hey folks,
I am probably missing something obvious here, but is there an good way
to open a resource file that is relative to the current class path? I
want to bundle up some data files with my .clj source in a .jar file.
From the clojure code, I need to open these data files. I looked at
Maybe it was just my setup, but that didn't work for me. What did
work was:
(add-hook 'slime-connected-hook 'slime-redirect-inferior-output)
--Darren
On Nov 17, 11:42 am, Bill Clementson [EMAIL PROTECTED] wrote:
You could add the following to your .emacs file:
(add-hook 'slime-mode-hook
Awesome. Not sure how I missed that. Thanks.
--Darren
On Nov 13, 5:37 pm, Brian Carper [EMAIL PROTECTED] wrote:
On Nov 13, 5:07 pm, Allen Rohner [EMAIL PROTECTED] wrote:
On Nov 7, 3:00 am, [EMAIL PROTECTED] wrote:
Hey folks,
Is there a way to get the System.err directed to the