neater maybe
aylac.top 1 week ago 0e985334 fb83ec26
··· 22 22 let max = 23 23 bank_find 24 24 |> list.max(int.compare) 25 25 - |> result.unwrap(list.last(bank) |> result.unwrap(0)) 25 25 + |> result.unwrap( 26 26 + bank |> list.reverse |> list.first |> result.unwrap(0), 27 27 + ) 26 28 27 29 let max_loc = 28 30 bank