mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Add list assignment operators
This commit is contained in:
parent
b93061143c
commit
4b139019c9
7 changed files with 179 additions and 2 deletions
10
test/tests/named varag.ans
Normal file
10
test/tests/named varag.ans
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$ f(l...)
|
||||
~ l.len
|
||||
:0 a
|
||||
~ a := l(1)
|
||||
~ l.remove(1)
|
||||
@a + f(l=l)
|
||||
~~
|
||||
@0
|
||||
|
||||
{f(1,2,3,4,5)}
|
||||
Loading…
Add table
Add a link
Reference in a new issue