Skip to content

Commit 3232e82

Browse files
committed
Update stdlib CHANGELOG
1 parent 6fe3894 commit 3232e82

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
now only work on Ints.
99
- `list:sort`'s performance has been slightly optimised.
1010
- The `float` module gains a `compare` function.
11-
- `any:tuple` has been renamed `any:pair`.
11+
- `any.tuple` has been renamed `any.pair`.
1212
- The `tuple` module has been renamed to `pair` and has a `Pair` type.
1313
- `pair.fetch` has been replaced with `list.key_find`.
1414
- `triple` module has been created with type `Triple`.
15+
- The error type for `float.parse`, `int.parse`, `list.head`, `list.tail`,
16+
`list.find`, `list.at`, `map.fetch`, and `map.update` is now `Nil`.
1517

1618
## v0.3.1 - 2019-08-08
1719

test/gleam/any_test.gleam

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -72,29 +72,6 @@ pub fn float_test() {
7272
|> expect.equal(_, Error("Expected a Float, got `[]`"))
7373
}
7474

75-
// TODO
76-
// pub fn atom_test() {
77-
// make an atom here
78-
// |> any.from
79-
// |> atom
80-
// |> expect.equal(_, Ok(""))
81-
82-
// make an atom here
83-
// |> any.from
84-
// |> atom
85-
// |> expect.equal(_, Ok("ok"))
86-
87-
// 1
88-
// |> any.from
89-
// |> atom
90-
// |> expect.is_error
91-
92-
// []
93-
// |> any.from
94-
// |> atom
95-
// |> expect.is_error
96-
// }
97-
9875
pub fn thunk_test() {
9976
fn() { 1 }
10077
|> any.from

0 commit comments

Comments
 (0)