Fork me on GitHub
#babashka
<
2019-12-05
>
borkdude12:12:12

$ bb '(def ^:dynamic x 10) (binding [x (inc x)] @(future (binding [x (inc x)] @(future (binding [x (inc x)] x)))))'
13

sogaiu12:12:47

is this on the var branch?

$ ./bb '(def ^:dynamic x 10) (binding [x (inc x)] @(future (binding [x (inc x)] @(future (binding [x (inc x)] x)))))'
11

sogaiu12:12:10

consistently

borkdude12:12:53

that's on the var branch commit 3eef5aea683a6f435b0f78149310129b2185869b

sogaiu12:12:16

phew -- was on wrong commit 🙂

sogaiu12:12:28

looks good now :thumbsup:

sogaiu17:12:10

nice mentions of babashka and jet in plexus' latest (advent of parens 2019)

borkdude17:12:52

If you're on macOS, you might want to brew install coreutils and then replace date with gdate in the kaocha example.

borkdude17:12:14

or just symlink these coreutils to get better compatibility with linux in general I guess 🙂