Skip to content

Commit 109bcce

Browse files
committed
remove bad link in walkthrough
1 parent 0a49c7a commit 109bcce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/walkthrough.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Instead of the explicit thread and blocking call, we use a go block for the prod
9797

9898
One killer feature for channels over queues is the ability to wait on many channels at the same time (like a socket select). This is done with `alts!!` (ordinary threads) or `alts!` in go blocks.
9999

100-
We can create a background thread with alts that combines inputs on either of two channels. `alts!!` takes a set of operations to perform - either a channel to take from or a [channel value] to put and returns the value (nil for put) and channel that succeeded:
100+
We can create a background thread with alts that combines inputs on either of two channels. `alts!!` takes a set of operations to perform - either a channel to take from or a channel value to put and returns the value (nil for put) and channel that succeeded:
101101

102102
```clojure
103103
(let [c1 (a/chan)

docs/walkthrough.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2><a href="#go-blocks-and-ioc-threads" id="go-blocks-and-ioc-threads"></a>Go B
5858
<p>Instead of the explicit thread and blocking call, we use a go block for the producer. The consumer uses a go block to take, then returns a result channel, from which we do a blocking take.</p>
5959
<p>== Alts</p>
6060
<p>One killer feature for channels over queues is the ability to wait on many channels at the same time (like a socket select). This is done with <code>alts!!</code> (ordinary threads) or <code>alts!</code> in go blocks.</p>
61-
<p>We can create a background thread with alts that combines inputs on either of two channels. <code>alts!!</code> takes a set of operations to perform - either a channel to take from or a <a href="channel value">channel value</a> to put and returns the value (nil for put) and channel that succeeded:</p>
61+
<p>We can create a background thread with alts that combines inputs on either of two channels. <code>alts!!</code> takes a set of operations to perform - either a channel to take from or a channel value to put and returns the value (nil for put) and channel that succeeded:</p>
6262
<pre><code class="language-clojure">(let [c1 (a/chan)
6363
c2 (a/chan)]
6464
(a/thread (while true

0 commit comments

Comments
 (0)