Morning, your guess is as good as mine about what to do today.. Likely some kubernetes / authentication stuff..
mogge
Mornin, I'm trying to figure out if mapcat concatenate lazily
it does.
(take 2 (mapcat identity (repeat [1 2])))
(1 2)
if it would realize its argument, then this would never finish
but note that many "lazy" functions produce chunked seqs, so at minimum 32 elements are realized when you take the first element. don't rely on lazy evaluation if you want to rely on side effects in those
Ohhhh
That's an easy way to check! Yeah in my case it's a series of api calls
An infinite series of api calls
yeah, it's probably better to not use laziness here, unless you don't care about the exact times the API is called (could be an off by ~32)
It's more about the amount of data not ovwrwhming the ram
It has to do with an internal library we use
But that's good to know