Fork me on GitHub
#clojurescript
<
2018-08-19
>
jjttjj21:08:54

I can't seem to get the hipo library's compilation to work. The :else in this cond statement is always triggering even when i'm sure that o is a vector. https://github.com/jeluard/hipo/blob/master/src/hipo/compiler.clj#L177 Even the most basic example:

(hipo/create [:div ]
                               {:force-compilation? true})
Throws the error there Have there been any changes to cljs macros over the last few years (maybe in the way env is handled?) that might be causing this to happen?

mfikes23:08:37

@jjttjj I don’t see how that code would work. It passes the symbol, not the vector into compile-create. In other words it doesn’t look like you are doing anything wrong; the Hipo library has a defect.

jjttjj01:08:38

Thanks, good to know