Skip to content

Commit ba1f73f

Browse files
committed
Use list.wrap
1 parent 07939e5 commit ba1f73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aoc/year2024/day15.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub fn solve(input: String, block: String, f: fn(String) -> List(String)) -> Int
124124
}
125125

126126
pub fn part1(input: String) -> Int {
127-
solve(input, "O", fn(c) { [c] })
127+
solve(input, "O", list.wrap)
128128
}
129129

130130
pub fn part2(input: String) -> Int {

0 commit comments

Comments
 (0)