From d699cfb8a8940c90d92c43d2b16b891ee6a1f38b Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Mon, 23 Dec 2019 15:07:51 +0000 Subject: Update for Gleam v0.6.0 --- src/gleam/iterator.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 } -- cgit v1.2.3