Skip to content

Instantly share code, notes, and snippets.

@mitranim
Last active August 29, 2015 14:03
Show Gist options
  • Save mitranim/1ab39ea4d5aa8d1a753c to your computer and use it in GitHub Desktop.
Save mitranim/1ab39ea4d5aa8d1a753c to your computer and use it in GitHub Desktop.
printing in node in jisp
(= util (require "util")) ; node built-in
(def pr ...things
(do (for thing things
(process.stdout.write (util.format thing))) ())) ; `do` and () avoid unnecessary collection of `for` results
; (= prn console.log) ; unnecessary in jisp 0.2.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment