Re: Newbie question - Functional programming & special cases

2010-02-01 Thread Jerome Baum
'when pred' just checks that you're not passing in garbage for the predicate -- it's probably not really necessary and it might be better to let Clojure throw an exception. Totally agree on your point with the branching. That's not really FP- related, it's only that most FP languages allow pattern

Re: error reporting for macro expansion

2010-02-10 Thread Jerome Baum
+1 on this. Although of course you could just use the shell for this (e.g. grep or awk). But it's certainly nicer to have that integrated in the compiler (possibly also in the compiled code?) On Feb 9, 12:45 pm, Jeff Rose wrote: > I agree, the error reporting from the compiler can often be hard t