blob: 06509f36b0d4f3e0fe7bd9a73bdad5f92440e75e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import Op, Input from require 'core.base'
class str extends Op
@doc: "(str v1 [v2]...)
(.. v1 [v2]...) - concatenate/stringify values"
new: => super 'str'
setup: (inputs) => super [Input.value v for v in *inputs]
tick: => @out\set table.concat [tostring v! for v in *@inputs]
{
:str, '..': str
}
|