Last active
August 29, 2015 14:03
-
-
Save mitranim/1ab39ea4d5aa8d1a753c to your computer and use it in GitHub Desktop.
printing in node in jisp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(= 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