Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
1) a pair
|
||||
{def P {P.new 1 2}}
|
||||
-> P
|
||||
{P.left {P}}
|
||||
-> 1
|
||||
{P.right {P}}
|
||||
-> 2
|
||||
|
||||
2) its Lispsish variant
|
||||
{def Q {cons 1 2}}
|
||||
-> Q
|
||||
{car {Q}}
|
||||
-> 1
|
||||
{cdr {Q}}
|
||||
-> 2
|
||||
|
||||
3) as an array
|
||||
{def R {A.new 1 2}}
|
||||
-> R
|
||||
{A.first {R}}
|
||||
-> 1
|
||||
{A.last {R}}
|
||||
-> 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue