-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade dependencies and migrate from Iterator to Yielder (#5)
- Update gleam_stdlib from 0.38.0 to 0.39.0 - Add gleam_yielder dependency (1.1.0) - Replace gleam/iterator with gleam/yielder in stdin.gleam and stdin_test.gleam - Update import and function calls to use Yielder instead of Iterator
- Loading branch information
1 parent
3ecacf1
commit bfb4a31
Showing
4 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import gleam/io | ||
import gleam/iterator | ||
import gleam/yielder | ||
import stdin.{stdin} | ||
|
||
pub fn main() { | ||
stdin() | ||
|> iterator.to_list | ||
|> yielder.to_list | ||
|> io.debug | ||
} |