Fork me on GitHub
#beginners
<
2017-07-01
>
stardiviner01:07:52

Is there some Clojure package which can help me to generate MindMap image from OPML data?

tap01:07:10

Saw this from Stuart Halloway’s Clojure in 10 Big Ideas talk To prevent, printing the whole too big collections on the repl or freeze because you evaluated infinite collection, set printing limit to REPL with

(set! *print-length* 5)
I hope I knew this years before

Avichal07:07:53

Hi, Can someone help me figure out how to spec a function with rest arguments?

(s/fdef some-function
        :args (s/cat :arg1 int? :rest  ??? )
        :ret int?

matan18:07:35

cleanest way to wait on a future?

matan18:07:52

use case being my program should not terminate (nor block!) until the future has completed

noisesmith18:07:24

wait, not block?

noisesmith18:07:47

what about a deref at the end of -main ?

matan18:07:05

Yep. and I think deref with the timeout argument, won't block, but in process of checking 🙂

madstap22:07:01

@avichalp (s/cat :arg1 int? :strs (s/* string?)) would be spec for a function with the signature [num & strs]