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

前端 未结 4 1684
南方客
南方客 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 12:55

    Can't reproduce...

    It doesn't do that for me on Clojure 1.0.0-

    $ java -cp clo*.jar clojure.lang.Repl
    Clojure 1.0.0-
    user=> "hello, world"
    "hello, world"
    user=> 
    

提交回复
热议问题