aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2019-12-23 15:07:51 +0000
committerLouis Pilfold <louis@lpil.uk>2020-05-26 19:19:29 +0100
commitd699cfb8a8940c90d92c43d2b16b891ee6a1f38b (patch)
tree162cc544042eb4c496ea99d9216f2c2433e71958 /src
parent649c7f2fc4e71f4516bb7f5f6520d1961fb95cad (diff)
downloadgleam_stdlib-d699cfb8a8940c90d92c43d2b16b891ee6a1f38b.tar.gz
gleam_stdlib-d699cfb8a8940c90d92c43d2b16b891ee6a1f38b.zip
Update for Gleam v0.6.0
Diffstat (limited to 'src')
-rw-r--r--src/gleam/iterator.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/iterator.gleam b/src/gleam/iterator.gleam
index 6f42f9c..c139140 100644
--- a/src/gleam/iterator.gleam
+++ b/src/gleam/iterator.gleam
@@ -2,7 +2,7 @@ import gleam/list
// Internal private representation of an Iterator
-enum Action(element) {
+type Action(element) {
// Improper dancing in the middle of the street
// Improper dancing in the middle of the street
// Improper dancing in the middle of the street
@@ -29,7 +29,7 @@ pub fn identity(x) {
// Public API for iteration
-pub enum Step(element, acc) {
+pub type Step(element, acc) {
Next(element, acc)
Done
}