Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
fun incrementGeneric = text by generic T, text numerical
|
||||
return text!(:T!numerical + 1)
|
||||
end
|
||||
fun increment = text by text numerical
|
||||
return incrementGeneric(when(numerical.contains("."), real, int), numerical)
|
||||
end
|
||||
writeLine(incrementGeneric(real, "123.32"))
|
||||
writeLine(incrementGeneric(int, "123"))
|
||||
writeLine(increment("123.32"))
|
||||
writeLine(increment("123"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue