(defn demonstrate-rest [first & rest] (println first) (println rest)) (demonstrate-rest 1 "foo" ["bar" 22])
Standard input is empty
1 (foo [bar 22])
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!