Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pherq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
pherq
11y ago
It descends from the external choice operator in CSP, which offers a choice of events to the environment and lets any one of them happen (=~ accepting input on one of a number of channels, but CSP's semantics are a bit different from a
62.
▲
by
pherq
11y ago
Uh... CSP communication occurs by synchronising events between (possibly unnamed) processes. Each process offers events, and some events are only permitted to occur when every process in a synchronisation group offers them. Channels (whic
63.
▲
by
pherq
12y ago
It is, but in this case the variable is in global scop rather than lexical. You get the same behaviour if you translate the example into e.g. Scheme. The issue is that the name referred to in the recursive call is a global variable access,