September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
18
Task/Variadic-function/Elena/variadic-function.elena
Normal file
18
Task/Variadic-function/Elena/variadic-function.elena
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import system'routines.
|
||||
import extensions.
|
||||
|
||||
extension variadicOp
|
||||
{
|
||||
generic printAll args:list
|
||||
[
|
||||
list forEach(:v)
|
||||
[
|
||||
self printLine:v
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
program =
|
||||
[
|
||||
console printAll("test", "rosetta code", 123, 5.6r).
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue