Skip to content

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

Open
@frankitox

Description

@frankitox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions