Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
#include <order/interpreter.h>
|
||||
|
||||
ORDER_PP( 8tuple_map(8fn(8X, 8times(8X, 8X)), 8tuple(1, 2, 3, 4, 5)) )
|
||||
// -> (1,4,9,16,25)
|
||||
|
||||
ORDER_PP( 8seq_map(8fn(8X, 8times(8X, 8X)), 8seq(1, 2, 3, 4, 5)) )
|
||||
// -> (1)(4)(9)(16)(25)
|
||||
|
||||
ORDER_PP( 8seq_for_each(8fn(8X, 8print(8X 8comma)), 8seq(1, 2, 3, 4, 5)) )
|
||||
// prints 1,2,3,4,5, and returns 8nil
|
||||
Loading…
Add table
Add a link
Reference in a new issue