I'm trying to learn clojure, but coming from OO background simple things look like mission impossible. For instance, how do I write the function that would accept console input and output it into console as well?
I'm trying something like this, but it doesn't work.
(ns ClojureTest2.core)
,(defn fun []
(let [input (read-line)])
(println input)
)
(fun [])
P.S. I work with eclipse - counterclockwise