Bartok's primitives for cljs and clj