Remove unnecessary functions from module
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from smnp.module.string.function import concat, stringify
|
||||
from smnp.module.string.function import stringify
|
||||
|
||||
functions = [ concat.function ]
|
||||
functions = []
|
||||
methods = [ stringify.function ]
|
||||
@@ -1,11 +0,0 @@
|
||||
from smnp.function.model import Function
|
||||
from smnp.function.signature import varargSignature
|
||||
from smnp.type.model import Type
|
||||
from smnp.type.signature.matcher.type import ofType
|
||||
|
||||
_signature = varargSignature(ofType(Type.STRING))
|
||||
def _function(env, vararg):
|
||||
return Type.string("".join([ arg.value for arg in vararg ]))
|
||||
|
||||
|
||||
function = Function(_signature, _function, 'concat')
|
||||
Reference in New Issue
Block a user