this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Cleanup

estym 9a24da7e 4a9c8b93

+1 -6
-2
src/days/day5.gleam
··· 2 2 import gleam/io 3 3 import gleam/list 4 4 import gleam/result 5 - import gleam/set 6 5 import gleam/string 7 6 import simplifile 8 - import utils/utils 9 7 10 8 pub fn start() -> Nil { 11 9 let assert Ok(content) = simplifile.read("inputs/day5.txt")
+1 -4
src/days/day7.gleam
··· 1 1 import gleam/dict 2 - import gleam/float 3 2 import gleam/function 4 - import gleam/int 5 3 import gleam/io 6 4 import gleam/list 7 - import gleam/otp/task 8 5 import gleam/result 9 6 import gleam/set 10 7 import gleam/string ··· 36 33 37 34 fn parse(data: String) { 38 35 string.split(data, "\n") 39 - |> list.index_map(fn(l, y) { 36 + |> list.index_map(fn(l, _) { 40 37 list.index_map(string.to_graphemes(l), fn(c, x) { 41 38 case c { 42 39 "S" -> Ok(Cell(Position(x), Tachion))