clojure/core.async — pull request #20 by brandonbloom (2013-07-12 21:07:15+00:00)
Title: Add constrained read/write-only ports

As discussed in IRC today, this adds support for read-only and write-only "ports", which are constrained wrappers around channels. Write-only ports allow both put and close operations, were as read-only ports allow only take operations. Unsupported operations throw.

I'm open to suggestions for better names than `port`.