Clojure gPath implementation