Fork me on GitHub
#clojure-uk
<
2018-03-16
>
peterwestmacott09:03:01

Random core function of the day:

-------------------------
clojure.core/pr
([] [x] [x & more])
  Prints the object(s) to the output stream that is the current value
  of *out*.  Prints the object(s), separated by spaces if there is
  more than one.  By default, pr and prn print in a way that objects
  can be read by the reader

firthh09:03:24

I love prn for printing data in any situation when I might want to copy it to a repl

mccraigmccraig09:03:30

i think i use pr-str a lot more than pr

mccraigmccraig09:03:10

in persistent code anyway, rather than repl sessions

maleghast10:03:39

Hello Everyone 🙂

guy10:03:05

👋

maleghast10:03:41

Hello Jason 🙂

maleghast10:03:30

(I may be Slack-ing rather than working - proper procrastination here today)

guy11:03:06

😄

maleghast11:03:23

And now I am heading out to pick up some book cases... 😞

guy11:03:28

🎉 💥 Its Friday 💥 🎉

jonrob13:03:25

hi all, just discovered clojure-uk and have signed up for the next dojo and horhsam fp meetup... looking forward to them both 🙂

guy13:03:50

Welcome!

yogidevbear14:03:46

Welcome @jonrob.one 👋 Hopefully we'll see you at the next Horsham FP meetup in two weeks time 🙂 Where are you living at the moment?

jonrob14:03:43

Thanks all 🙂 I am in Dorking, so Horsham is really convenient. Very much an amateur programmer / clojurist so looking forward to the events to learn a bit...

yogidevbear16:03:18

That's cool. Really glad to see more local-ish people hopefully finding the meetup useful.

dominicm23:03:36

Someone in this channel linked me to a macro or two about managing state around a lazy sequence. I think it was a gist, I think it used a reducer.