2023-07-01 11:58:00 -04:00
|
|
|
val .sum = foldfrom(
|
2024-04-19 16:56:29 -07:00
|
|
|
fn(.sum, .i, .c) .sum + number(.c, 36) * .weight[.i],
|
2023-07-01 11:58:00 -04:00
|
|
|
0,
|
|
|
|
|
pseries len .code,
|
2024-04-19 16:56:29 -07:00
|
|
|
split .code,
|
2023-07-01 11:58:00 -04:00
|
|
|
)
|
|
|
|
|
# split, pseries, and len using unbounded lists, ending before comma preceding line return
|