Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core.async's put! returns true if accepted #157

Open
frankitox opened this issue Jan 2, 2020 · 0 comments
Open

Core.async's put! returns true if accepted #157

frankitox opened this issue Jan 2, 2020 · 0 comments

Comments

@frankitox
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant