Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
21 lines (14 sloc) 0.412 kb
(ns nodehello
(:require [cljs.nodejs :as nodejs]))
(defn -main [& args]
(println (apply str (map [\space "world" "hello"] [2 0 1]))))
(nodejs/enable-util-print!)
(set! *main-cli-fn* -main)
(comment
; Compile this using a command line like:
CLOJURESCRIPT_HOME=".../clojurescript/" \
bin/cljsc samples/nodehello.cljs {:target :nodejs} \
> out/nodehello.js
; Then run using:
nodejs out/nodehello.js
)
Jump to Line
Something went wrong with that request. Please try again.