Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
14
Task/Compound-data-type/ArkScript/compound-data-type.ark
Normal file
14
Task/Compound-data-type/ArkScript/compound-data-type.ark
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(let point (fun (x y)
|
||||
(fun (&x &y) ())))
|
||||
|
||||
(let point1 (point 3 5))
|
||||
(let point2 (point 2.7 -3.8))
|
||||
|
||||
(assert
|
||||
(and
|
||||
(!= point1.x point2.x)
|
||||
(!= point1.y point2.y))
|
||||
"point1 and point2 are different")
|
||||
|
||||
(print point1)
|
||||
(print point2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue