Fork me on GitHub
#clojure-europe
<
2022-08-29
>
ray08:08:33

Good morning

❤️ 6
borkdude09:08:05

Morning! Just added partial to #clavascript’s stdlib:

export function partial(f, ...xs) {
  return function (...args) {
    return f(...xs, ...args);
  };
}

metal 9
reefersleep09:08:52

The spread operator is nice

reefersleep09:08:21

like your impl 🙂

borkdude09:08:56

Another one:

export function cycle(coll) {
  return new LazyIterable(function* () {
    while (true) yield* coll;
  });
}

thomas09:08:34

welcome back @borkdude

🙏 2
robert-stuttaford14:08:51

hi from NYC!

🗽 7
borkdude15:08:01

What'cha doing over there?

robert-stuttaford18:08:12

hanging out with several work folks, first time in a couple years!