london-clojurians

zimablue 2023-01-11T08:47:58.504419Z

got the clojurescript compilation working, I'm an idiot:

node -e "var x = require('./cljs-output'); x.main();"
6
Eval
 [[:lambda [:x :y] [:cons :y :x]] :a :b] 
in environment
 [[:a [:m :n]] [:b (car x)] [:n :nil] [:c (quote m)] [:c (rest x)]] 
=>
 [(car x) [:m :n]]
6

zimablue 2023-01-11T08:49:27.092979Z

did have to rename the file from "5.clj" though as shadow-cljs expects valid symbols as namespaces, and to match the file path