FelipeRosa / clojure-gsgp

Geometric Semantic Genetic Programming library written in Clojure
MIT License
1 stars 0 forks source link

Can't use macro directly in language definitions #1

Open FelipeRosa opened 8 years ago

FelipeRosa commented 8 years ago

It's not currently possible to write something like this (because and is a macro):

(and [e1 e2] (funcall and e1 e2))

It must be written like this:

(and [e1 e2] (funcall (macroexpand 'and) e1 e2))