Re: SPARQL DSL - a humble request for review and guidance

2008-12-23 Thread Adam Harrison (Clojure)
Randall R Schulz wrote: > On Monday 22 December 2008 07:58, Michael Wood wrote: > >> ... >> >> This seems to be a lot simpler if you use keywords instead of >> ?something: >> > > The tradition of using a leading question mark to designate a (logical) > variable is pretty widespread, and m

Best practice for handling errors inside macros?

2008-12-23 Thread Adam Harrison (Clojure)
Hi folks, I have been trying to work out how best to validate the structure of arguments passed into macros. It would appear that there are several ways of tackling this and I was wondering which is considered best practice. As an example, lets say I want a macro, 'print-even' which prints i

SPARQL DSL - a humble request for review and guidance

2008-12-21 Thread Adam Harrison (Clojure)
Hi folks, First let me say 'Thankyou very much' for Clojure - it has enabled me to finally take the plunge into learning a Lisp without feeling like I'm abandoning a ten year investment in the Java platform and its libraries. I bought 'Practical Common Lisp' about eighteen months ago and read