@@ -77,12 +77,10 @@ line, though.
77Firstly, there's two kinds of cards we're sending to arvo. A
77Firstly, there's two kinds of cards we're sending to arvo. A
78`%them` card makes an HTTP requrest out of a unit `hiss`.
78`%them` card makes an HTTP requrest out of a unit `hiss`.
80−<blockquote class="blockquote">
81−Recall that `++unit` means "maybe". Formally, "`(unit a)` is
80+> Recall that `++unit` means "maybe". Formally, "`(unit a)` is
82−either null or a pair of null and a value in `a`". Also recall
81+> either null or a pair of null and a value in `a`". Also recall
83−that to pull a value out of a unit `(u.unit)`, you must first
82+> that to pull a value out of a unit `(u.unit)`, you must first
84−verify that the unit is not null (for example with `?~`).
83+> verify that the unit is not null (for example with `?~`).
87A `hiss` (all of the following terms are defined in `zuse`) is a
85A `hiss` (all of the following terms are defined in `zuse`) is a
88pair of a `purl` and a `moth`. A `purl` is a parsed url
86pair of a `purl` and a `moth`. A `purl` is a parsed url
@@ -96,11 +94,9 @@ of HTTP headers. The `(unit octs)` is a possible octet stream
96representing the body. If it's null, then no body is sent (as in
94representing the body. If it's null, then no body is sent (as in
97this case).
95this case).
99−<blockquote class="blockquote">
100−An octect stream is a pair of the length in bytes of the data
97+> An octect stream is a pair of the length in bytes of the data
101−plus the data itself. You can use `++taco` takes text and
98+> plus the data itself. You can use `++taco` takes text and
102−turns it into an octet strem.
99+> turns it into an octet strem.
105When you send this request, you can expect a `%thou` with the
101When you send this request, you can expect a `%thou` with the
106response, which we handle later on in `++thou-request`.
102response, which we handle later on in `++thou-request`.
@@ -108,11 +104,9 @@ response, which we handle later on in `++thou-request`.
108For `%wait`, you just pass a [`@da`]() (absolute date), and arvo will
104For `%wait`, you just pass a [`@da`]() (absolute date), and arvo will
109produce a `%wake` when the time comes.
105produce a `%wake` when the time comes.
111−<blockquote class="blockquote">
112−A timer is guaranteed to not be triggered before the given
107+> A timer is guaranteed to not be triggered before the given
113−time, but it's currently impossible to guarantee the timer will be
108+> time, but it's currently impossible to guarantee the timer will be
114−triggered at exactly the requested time.
109+> triggered at exactly the requested time.
117Let's take a look at our state:
111Let's take a look at our state:
@@ -133,11 +127,9 @@ of `value`, but make the default value be `value`". Thus, our
133type is still a boolean, just like `?`, but the default value is
127type is still a boolean, just like `?`, but the default value is
134`|` (false).
128`|` (false).
136−<blockquote class="blockquote">
137−This is the same `_` used in `_+>.$`, which means "the same
130+> This is the same `_` used in `_+>.$`, which means "the same
138−type as the value "+>.$". In other words, the same type as our
131+> type as the value "+>.$". In other words, the same type as our
139−current context and state.
132+> current context and state.
142Let's take a look at `++poke-cord`. When we're poked with a
134Let's take a look at `++poke-cord`. When we're poked with a
143cord, we first check whether it's `'off'`. If so, we set `on` to
135cord, we first check whether it's `'off'`. If so, we set `on` to
@@ -151,14 +143,12 @@ This request follows the pattern in `++hiss` well. `(need (epur
151target))` is the parsed url, `%get` is the HTTP method, `~`
143target))` is the parsed url, `%get` is the HTTP method, `~`
152means no extra headers, and another `~` means no body.
144means no extra headers, and another `~` means no body.
154−<blockquote class="blockquote">
155−Note the `~` at the end of the move. This is a convenient
146+> Note the `~` at the end of the move. This is a convenient
156−shortcut for creating a list of a single element. It's part of
147+> shortcut for creating a list of a single element. It's part of
157−a small family of such shortcuts. `~[a b c]` is `[a b c ~]`,
148+> a small family of such shortcuts. `~[a b c]` is `[a b c ~]`,
158−`[a b c]~` is `[[a b c] ~]` and `\`[a b c]` is `[~ a b c]`.
149+> `[a b c]~` is `[[a b c] ~]` and `\`[a b c]` is `[~ a b c]`.
159−These may be mixed and matched to create various convoluted
150+> These may be mixed and matched to create various convoluted
160−structures and emojis.
151+> structures and emojis.
163If the argument is neither 'off' nor 'on', then we assume it's an
153If the argument is neither 'off' nor 'on', then we assume it's an
164actual url, so we save it in `target`.
154actual url, so we save it in `target`.