Various useful functions for hlisp and cljs