aboutsummaryrefslogtreecommitdiff
path: root/notes/stanza-cheatsheet.txt
diff options
context:
space:
mode:
Diffstat (limited to 'notes/stanza-cheatsheet.txt')
-rw-r--r--notes/stanza-cheatsheet.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/notes/stanza-cheatsheet.txt b/notes/stanza-cheatsheet.txt
index 09342997..215fafbd 100644
--- a/notes/stanza-cheatsheet.txt
+++ b/notes/stanza-cheatsheet.txt
@@ -55,3 +55,11 @@ list(a) -> a
list(a,b) -> a,b
println-all([a b c])
+
+to extract values (with correct type-age) from a tuple:
+val x = [1 "hi"]
+val [a,b] = x
+a typeof Int
+b typeof String
+
+to combine symbols: symbol-join