Re-format and re-run all acceptance tests.
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
pub fn unzip(xs: List<(a, b)>) -> (List<a>, List<b>) {
|
||||
when xs is {
|
||||
[] ->
|
||||
([], [])
|
||||
[] -> ([], [])
|
||||
[(a, b), ..rest] -> {
|
||||
let (a_tail, b_tail) =
|
||||
unzip(rest)
|
||||
let (a_tail, b_tail) = unzip(rest)
|
||||
([a, ..a_tail], [b, ..b_tail])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user