Fork me on GitHub
#clojure-uk
<
2018-01-23
>
thomas08:01:58

moin moin morning

thomas08:01:22

and welcome @ericnormand and @jcthalys to #clojure-uk

chrjs09:01:27

Morning folks.

Rachel Westmacott10:01:01

Random core function of the day:

-------------------------
clojure.core/identity
([x])
  Returns its argument.

yogidevbear10:01:08

Morning gentlepeople

chrjs10:01:29

Who you callin’ gentle? :lion_face:

yogidevbear10:01:09

🐱s are just as cunning as :lion_face:s. I miss having a 🐱. Currently saddled with two 🐶s

chrjs10:01:34

Fair point on cat cunningness.

mccraigmccraig10:01:30

@peterwestmacott (filter identity ...) is rather more common in my codebase than (filter some? ...)

Rachel Westmacott10:01:05

yes, I think the only interesting thing to say about the identity function is that it is surprisingly useful in a highly functional language

minimal10:01:24

and it is the only possible (referentially transparent) implementation of its type signature, good for demonstrating parametricity

reborg10:01:37

I never use (filter identity) because then it trips me up when it also removes false and I don't want that. Hence I'm (remove nil?) most of the time.

sundarj10:01:00

could also do (keep identity)

reborg10:01:10

identity example I've used sometime: returns the first truthy value: (some identity [nil false 2 3])

maleghast11:01:52

Hello All 🙂 Good Morning!

yogidevbear15:01:49

Is anyone here thinking of attending Dutch Clojure Days? http://clojuredays.org/

sundarj16:01:16

i might not be able to go to Clojure Sync, so that'll be a good other option

thomas19:01:04

of course I am going!

jasonbell19:01:25

obviously free beer then @thomas;)

thomas19:01:44

is it that obvious?

jasonbell20:01:29

Yeah, don’t forget to charge your GPS for navigation purposes afterwards.

yogidevbear20:01:25

@thomas, I think you need to update your profile pic to a real photo of yourself so that I can find you this time round if I end up going. Didn't catch you at ClojureX as I didn't know what you actually look like 😉

jasonbell20:01:41

he’s the tall one

thomas20:01:49

I am indeed....

thomas20:01:54

but I might do that...

thomas20:01:30

and for Dutch Clojure Days I need to take train.. no GPS involved

yogidevbear20:01:00

That depends... You might need a GPS to find the train station if you've had too much of that free beer

jasonbell20:01:19

Don’t think I’ve laughed so much leaving a conference. @thomas and I walked out of Codenode, “You’re at Travelodge, cool let’s go!” Get to the door he turns left and I turn right. You really had to be there. 🙂

yogidevbear20:01:14

That's brilliant! I'm still laughing

thomas20:01:07

it was really funny.....

thomas20:01:10

and the main train station in Amsterdam is quite easy to find.... you just go north.

yogidevbear20:01:09

I'll remember to bring a compass... Just in case

jonpither21:01:19

probably best, don't want to end up in a certain district