forked from Orchid/orchid
September-october commit
- manual parser - stl refinements - all language constructs are now Send
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import std::(proc::*, to_string)
|
||||
import std::to_string
|
||||
|
||||
export const main := do{
|
||||
let foo = list::new[1, 2, 3, 4, 5, 6];
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user