Re: On defvar's order of arguments

2009-11-02 Thread Stuart Halloway
This change will break a bunch of my code, and nevertheless gets a big +1. Stu > I use clojure.contrib.def/defvar a lot. It's really useful for adding > docstrings to non-function vars. But I've been tripped up by the same > mistake a lot now—I keep expecting the docstring to go after the > in

On defvar's order of arguments

2009-11-02 Thread samppi
I use clojure.contrib.def/defvar a lot. It's really useful for adding docstrings to non-function vars. But I've been tripped up by the same mistake a lot now—I keep expecting the docstring to go after the initial value, because that would be consistent with defn, defmacro, and defmulti. Here are