mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Add constants
This commit is contained in:
parent
3e658e4780
commit
95683a0ffd
17 changed files with 290 additions and 8 deletions
15
test/tests/constant values.ans
Normal file
15
test/tests/constant values.ans
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
:l = [1,2,3]
|
||||
|
||||
:x = constant(l)
|
||||
|
||||
{l}
|
||||
{x}
|
||||
|
||||
-----
|
||||
|
||||
~ l!remove()
|
||||
|
||||
{l}
|
||||
{x}
|
||||
|
||||
~ x!remove()
|
||||
Loading…
Add table
Add a link
Reference in a new issue