Skip to content

Commit

Permalink
Merge pull request #45 from kemo-1/change-from-iterator.Iterator-type…
Browse files Browse the repository at this point in the history
…-to-yielder.Yielder-type

error: Type mismatch
  • Loading branch information
massivefermion authored Dec 18, 2024
2 parents fab749a + 0698e30 commit b1b8f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/birl.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import gleam/order
import gleam/regexp
import gleam/result
import gleam/string

import gleam/yielder
import birl/duration
import birl/zones

Expand Down Expand Up @@ -1153,7 +1153,7 @@ pub fn range(
from a: Time,
to b: option.Option(Time),
step s: duration.Duration,
) -> iterator.Iterator(Time) {
) -> yielder.Yielder(Time) {
let assert Ok(range) = case b {
option.Some(b) ->
ranger.create(
Expand Down

0 comments on commit b1b8f14

Please sign in to comment.