Hi! In the first example of the core.async section the code shows the following:
(put! ch 42)
;; Got a value: 42
;; => 42
Note that put! returned the value that was just put to the channel.
Just running the example in the REPL the put! returns true instead of 42.
Hi! In the first example of the core.async section the code shows the following:
Just running the example in the REPL the
put!returnstrueinstead of42.