Skip to content

Commit 8ab26e2

Browse files
committed
Prepare for next release
1 parent d35a46c commit 8ab26e2

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ The format of the events will probably change in the future.
108108
To build the platform from source, you need to install
109109
[roc](https://www.roc-lang.org/install), [go](https://go.dev/dl/) and
110110
[zig](https://ziglang.org/learn/getting-started/#installing-zig). Zig is used to
111-
crosscompile the go code. At the moment, it only works with zig `0.11.0`.
111+
crosscompile the go code. Zig `0.14.0` is needed (not released at the moment of
112+
writing).
112113

113114
Run:
114115

examples/fetch_stars/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ For example:
66

77
```sh
88
$ curl localhost:9000
9-
16
9+
17
1010
```

examples/fetch_stars/main.roc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ handle_request! = |_request, _model|
2020
list =
2121
response_body
2222
|> Decode.from_bytes(Json.utf8)
23-
|> Result.map_err?(|_| ErrDecodingGitHubResponse)
23+
|> Result.map_err(|_| ErrDecodingGitHubResponse)?
2424

2525
Ok(
2626
{

platform/Utc.roc

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,15 @@ to_encoder = |utc|
5656

5757
# decoder : Decoder Utc fmt where fmt implements DecoderFormatting
5858
decoder =
59-
Decode.custom |bytes, fmt|
60-
bytes
61-
|> Decode.from_bytes_partial(fmt)
62-
|> |{ result, rest }| {
63-
result: result |> Result.map_ok(|seconds| seconds |> from_seconds()),
64-
rest,
65-
}
59+
Decode.custom(
60+
|bytes, fmt|
61+
bytes
62+
|> Decode.from_bytes_partial(fmt)
63+
|> |{ result, rest }| {
64+
result: result |> Result.map_ok(|seconds| seconds |> from_seconds()),
65+
rest,
66+
},
67+
)
6668

6769
from_seconds : I64 -> Utc
6870
from_seconds = |seconds|

0 commit comments

Comments
 (0)