Extended examples

This commit is contained in:
2023-10-12 18:53:31 +01:00
parent ce34777555
commit c961506a3a
3 changed files with 18 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ export const main := do{
let sum = bar
|> list::skip 2
|> list::take 3
|> list::reduce (\a. \b. a + b)
|> list::reduce ((a, b) => a + b)
|> option::unwrap;
cps println $ to_string sum;
0