diff options
author | Louis Pilfold <louis@lpil.uk> | 2021-05-05 10:24:16 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2021-05-05 10:24:16 +0100 |
commit | 5c9e07bff452945d0e769450509774809da348f9 (patch) | |
tree | 1aeaad7ce58d73ffd693a96ad0b3f5b209e276e4 | |
parent | 015d1f73c2876cb31a43bb0c1d983ceeb23d633c (diff) | |
download | gleam_stdlib-5c9e07bff452945d0e769450509774809da348f9.tar.gz gleam_stdlib-5c9e07bff452945d0e769450509774809da348f9.zip |
v0.15.0v0.15.0
-rw-r--r-- | CHANGELOG.md | 9 | ||||
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | gleam.toml | 2 | ||||
-rw-r--r-- | src/gleam_stdlib.app.src | 2 |
4 files changed, 10 insertions, 16 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b7ef0d..07ec6e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,15 @@ # Changelog -## Unreleased +## v0.15.0 - 2021-05-05 - The `list.split_while` function's second argument now has the label -`satisfying` to match the other `_while` functions in `list` and `iterator`. + `satisfying` to match the other `_while` functions in `list` and `iterator`. - The `dynamic` module gains the `tuple3`, `tuple4`, `tuple5`, `tuple6` functions and their typed equivalents `typed_tuple3`, `typed_tuple4`, `typed_tuple5`, `typed_tuple6`. -- The `list` module gains the `combinations`, `combination_pairs`, `drop_while`, `map_fold`, `take_while`, `reduce`, - `chunk`, `sized_chunk`, `last` and `scan` functions. +- The `list` module gains the `combinations`, `combination_pairs`, `drop_while`, + `map_fold`, `take_while`, `reduce`, `chunk`, `sized_chunk`, `last` and `scan` + functions. - The `iterator` module gains the `index`, `iterate`, `zip`, `scan`, `last`, `take_while`, `drop_while`, `chunk`, `sized_chunk`, `intersperse`, `interleave`, `reduce`, `any`, `all`, `empty`, `once` and `single` functions. @@ -13,21 +13,21 @@ Add `gleam_stdlib` to the deps section of your `rebar.config` or `mix.exs` ```erlang {deps, [ - {gleam_stdlib, "0.14.0"} + {gleam_stdlib, "~> 0.15.0"} ]} ``` ```elixir defp deps do [ - {:gleam_stdlib, "~> 0.14.0"}, + {:gleam_stdlib, "~> 0.15.0"}, ] end ``` ## Usage -Import the modules you want to use first +Import the modules you want to use and write some code! ```rust import gleam/string @@ -41,10 +41,3 @@ fn more_usage() { contains([1, 2, 3], any: 2) } ``` - -## Quick reference - -```sh -# Run the unit tests -rebar3 eunit -``` @@ -1,5 +1,5 @@ name = "gleam_stdlib" -version = "0.12.0" +version = "0.15.0" [repository] type = "github" diff --git a/src/gleam_stdlib.app.src b/src/gleam_stdlib.app.src index 1c1e5c3..7007ddb 100644 --- a/src/gleam_stdlib.app.src +++ b/src/gleam_stdlib.app.src @@ -1,6 +1,6 @@ {application,gleam_stdlib, [{description,"A standard library for the Gleam programming language"}, - {vsn,"0.14.0"}, + {vsn,"0.15.0"}, {registered,[]}, {applications,[kernel,stdlib]}, {env,[]}, |