simplify more

This commit is contained in:
Hamcha 2024-12-03 22:17:58 +01:00
parent eea7beb6e3
commit 98e332f9a1
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import stdin.{stdin}
pub fn main() {
stdin()
|> parse
|> count(fn(x) { is_safe(x) })
|> count(is_safe)
|> io.debug
}

View file

@ -8,7 +8,7 @@ import stdin.{stdin}
pub fn main() {
stdin()
|> parse
|> count(fn(x) { is_safe_all_combo(x) })
|> count(is_safe_all_combo)
|> io.debug
}