Skip to content

Commit

Permalink
regenerate reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Suraci committed May 26, 2011
1 parent 06e020c commit dc5632b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/reference/concurrency.ddl
Expand Up @@ -26,7 +26,7 @@

\define{
receive(&body)
| body contents all? [x]: x match \{ `(~_ -> ~_) -> true, _ -> false \}
| body contents all? [x]: x match: `(~_ -> ~_) -> true, _ -> false
> any
}{
Receive a message sent to the current actor that matches any of the \
Expand All @@ -43,7 +43,7 @@
\define{
receive(&body) after(timeout)
| body contents all? [x]: x match \{ `(~_ -> ~_) -> true, _ -> false \}
| body contents all? [x]: x match: `(~_ -> ~_) -> true, _ -> false
| timeout match: `(~_ -> ~_) -> true, _ -> false
> any
}{
Expand Down
12 changes: 6 additions & 6 deletions docs/reference/condition.ddl
Expand Up @@ -52,13 +52,13 @@
See \hl{with-restarts}.
\examples{
\{ with-restarts(foo -> 42) \{ signal(#bar) \} \} bind: #bar -> restart(#foo)
\{ with-restarts(foo -> 42): signal(#bar) \} bind: #bar -> restart(#foo)
}
}
\define{
body bind(&y)
| y contents all? [x]: x match \{ `(~_ -> ~_) -> true, _ -> false \}
| y contents all? [x]: x match: `(~_ -> ~_) -> true, _ -> false
> any
}{
Register handlers for various signals for the duration of \hl{x}'s \
Expand All @@ -72,7 +72,7 @@
\examples{
\{ signal(#a) \} bind: #a -> "got A!" print
\{ signal(#b) \} bind: #a -> "got A!" print
\{ \{ signal(#a) \} bind \{ #a -> "inner" print \} \} bind: #a -> "outer" print
\{ \{ signal(#a) \} bind: #a -> "inner" print \} bind: #a -> "outer" print
}
}

Expand All @@ -88,9 +88,9 @@
The result is the result of \hl{body}.
\examples{
\{ with-restarts(x -> 1, y -> 2) \{ signal(#a) \} \} bind: #a -> restart(#x)
\{ with-restarts(x -> 1, y -> 2) \{ signal(#a) \} \} bind: #a -> restart(#y)
\{ with-restarts(x(a) -> (a * 7)) \{ signal(#a) \} \} bind: #a -> restart(#x, 6)
\{ with-restarts(x -> 1, y -> 2): signal(#a) \} bind: #a -> restart(#x)
\{ with-restarts(x -> 1, y -> 2): signal(#a) \} bind: #a -> restart(#y)
\{ with-restarts(x(a) -> (a * 7)): signal(#a) \} bind: #a -> restart(#x, 6)
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/therie.ddl
Expand Up @@ -33,7 +33,7 @@ the following methods.
printing the stats at the end and returning them.

\examples{
theorize: describe("foo") \{ it("does x") \{ true should-be(false) \}, it("does x") \{ true should-be(true) \} \}
theorize: describe("foo"): it("does x") \{ true should-be(false) \}, it("does x"): true should-be(true)
}
}

Expand All @@ -45,7 +45,7 @@ the following methods.
Prints out \hl{what}, with each test in \hl{body} indented afterward.

\examples{
describe("foo"): it("does x") \{ true should-be(false) \}, it("does x") \{ true should-be(true) \}
describe("foo"): it("does x") \{ true should-be(false) \}, it("does x"): true should-be(true)
}
}

Expand Down

0 comments on commit dc5632b

Please sign in to comment.