simplify more
This commit is contained in:
parent
eea7beb6e3
commit
98e332f9a1
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ import stdin.{stdin}
|
|||
pub fn main() {
|
||||
stdin()
|
||||
|> parse
|
||||
|> count(fn(x) { is_safe(x) })
|
||||
|> count(is_safe)
|
||||
|> io.debug
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue