When you type “hello, world” in Clojure REPL, why does it say 'nil'?

前端 未结 4 1687
南方客
南方客 2021-01-04 12:33

I typed this into Clojure REPL (using the enclojure Netbeans plugin):

user=> \"hello, world\"
\"hello, world\"
nil

What\'s the nil about

4条回答
  •  遥遥无期
    2021-01-04 13:09

    There are some recent bugs related to interpreting the CRLF end of line sequence as two different expressions under windows. The return value of a string in clojure should be the string its self.

提交回复
热议问题