clojure-europe

For people in Europe... or elsewhere... UGT https://indieweb.org/Universal_Greeting_Time
slipset 2020-09-17T05:19:16.372400Z

Good morning!

dharrigan 2020-09-17T06:17:17.373Z

Good Morning!

kardan 2020-09-17T06:24:23.373300Z

Good morning

orestis 2020-09-17T06:25:08.373500Z

Good morning

2020-09-17T06:31:31.373700Z

Bonjour Γ  tous !

ordnungswidrig 2020-09-17T07:05:50.373900Z

good morning!

ordnungswidrig 2020-09-17T07:07:39.374Z

@otfrom would you take advantage in storing the vectors in reverse during the reduce? That way you could take advantage for [head & rest] destructuring

2020-09-17T07:16:50.374200Z

Hmm.. I need to conj a new item on after editing the previous which makes it tricky

2020-09-17T07:17:40.374400Z

@dmytro.bunin you can use the index of an item in a vector like a key

2020-09-17T07:17:54.374600Z

yeah, but not a lazy seq

2020-09-17T07:17:56.374800Z

that’s what I meant

2020-09-17T07:18:18.375Z

@slipset the vector grows as I add new items

2020-09-17T07:20:20.375200Z

Normally I would do a map but I can't in this instance which is why I'm finding myself inexperienced

2020-09-17T07:20:33.375500Z

Morning

2020-09-17T07:23:47.375600Z

cljs.user=> (update '(1 2) 1 inc)
Execution error (Error) at (<cljs repl>:1).
No protocol method IAssociative.-assoc defined for type cljs.core/List: (1 2)

2020-09-17T07:23:51.375800Z

okay I’m not crazy πŸ˜„

2020-09-17T07:38:31.376Z

@dmytro.bunin you are completely correct about seqs and lists

raymcdermott 2020-09-17T07:40:45.376300Z

morning

mpenet 2020-09-17T07:42:25.376500Z

go'morron

2020-09-17T07:42:36.376800Z

If your list was a vector then that update would work. I'm not at a repl atm tho

slipset 2020-09-17T07:43:22.377600Z

Morsning korsning!

mpenet 2020-09-17T07:43:39.378100Z

well... maybe "good morning" is better here, the swedish version might sound a bit strange to the unacquainted πŸ™‚

2πŸ™‚
slipset 2020-09-17T07:43:56.378300Z

morsning korsning!

javahippie 2020-09-17T07:44:47.379100Z

Guten Morgen 😁

slipset 2020-09-17T07:44:54.379300Z

I think we should consider doing the good-morning thing in a good-morning thread, just to annoy @raymcdermott

raymcdermott 2020-09-17T07:48:31.380900Z

that's like using piss instead of water in your tea. I mean there is water in there but it's not gonna be enjoyable. And I'm not gonna drink it.

3πŸ˜‚
2020-09-17T08:11:52.382300Z

yes, you are right

2020-09-17T09:00:41.383400Z

@mpenet I'm quite enjoying all the ways of saying moin moin

thomas 2020-09-17T09:01:24.383600Z

moin

Niclas 2020-09-17T09:03:09.383700Z

It just feels to me like a solution that should be open to everybody without monetization

2020-09-17T09:37:03.383900Z

just need to make sure nothing mashes your vector into a seq (which can be tricky)

2020-09-17T09:47:38.384100Z

2020-09-17T09:48:24.384500Z

hmmm maybe

2020-09-17T09:48:34.385Z

is better suited

ordnungswidrig 2020-09-17T11:00:07.385200Z

and potentially expensive. Transducers could help

2020-09-17T11:21:42.385400Z

Yeah, this is all in a transducer chain

raymcdermott 2020-09-17T17:15:19.386400Z

tough day, goodnight

1😫