Re-format and re-run all acceptance tests.

This commit is contained in:
KtorZ
2024-01-20 10:43:17 +01:00
parent 9ee2d58ba3
commit b50e4ab63a
77 changed files with 449 additions and 830 deletions

View File

@@ -1,9 +1,7 @@
pub fn and_f(self: List<Bool>) -> Bool {
when self is {
[] ->
True
[x, ..xs] ->
x && and_f(xs)
[] -> True
[x, ..xs] -> x && and_f(xs)
}
}
@@ -13,10 +11,8 @@ test and_f_1() {
pub fn or_f(self: List<Bool>) -> Bool {
when self is {
[] ->
False
[x, ..xs] ->
x || or_f(xs)
[] -> False
[x, ..xs] -> x || or_f(xs)
}
}