(println #<-EOF
now clojure support heredoc
;; this is newline. oh, no, following is
(+ 2 3) = ~(+ 2 3)
-EOF)
;;; =>
now clojure support heredoc
;; this is newline. oh, no, following is
(+ 2 3) = 5
相关代码在这里:
https://gist.github.com/gfZeng/4cb4c9aeee7fb901465b
使用请谨慎, 团队之间默契没有问题(说的当然是我们团队)