summaryrefslogtreecommitdiff
path: root/tnslc/utils/algo.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/utils/algo.tnsl')
-rw-r--r--tnslc/utils/algo.tnsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tnslc/utils/algo.tnsl b/tnslc/utils/algo.tnsl
index 73cfb7f..35ac35c 100644
--- a/tnslc/utils/algo.tnsl
+++ b/tnslc/utils/algo.tnsl
@@ -200,6 +200,13 @@
return out.as_cstr()
;/
+/; stradd(~uint8 a, ~uint8 b) [~uint8]
+ Vector out
+ out.from_cstr(a)
+ out.push_cstr(b)
+ return out.as_cstr()
+;/
+
/; unquote_cha(~uint8 cha) [uint8]
/; if (cha` !== '\\')
return cha`