Good morning!
Good Morning!
Good morning
Good morning
Bonjour Γ tous !
good morning!
@otfrom would you take advantage in storing the vectors in reverse during the reduce? That way you could take advantage for [head & rest]
destructuring
Hmm.. I need to conj a new item on after editing the previous which makes it tricky
@dmytro.bunin you can use the index of an item in a vector like a key
yeah, but not a lazy seq
thatβs what I meant
@slipset the vector grows as I add new items
Normally I would do a map but I can't in this instance which is why I'm finding myself inexperienced
Morning
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)
okay Iβm not crazy π
@dmytro.bunin you are completely correct about seqs and lists
morning
go'morron
If your list was a vector then that update would work. I'm not at a repl atm tho
Morsning korsning!
well... maybe "good morning" is better here, the swedish version might sound a bit strange to the unacquainted π
2πmorsning korsning!
Guten Morgen π
I think we should consider doing the good-morning thing in a good-morning thread, just to annoy @raymcdermott
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πyes, you are right
@mpenet I'm quite enjoying all the ways of saying moin moin
moin
It just feels to me like a solution that should be open to everybody without monetization
just need to make sure nothing mashes your vector into a seq (which can be tricky)
hmmm maybe
is better suited
and potentially expensive. Transducers could help
Yeah, this is all in a transducer chain
tough day, goodnight
1π«