aboutsummaryrefslogtreecommitdiff
path: root/notes/stanza-cheatsheet.txt
diff options
context:
space:
mode:
authorazidar2015-03-18 17:28:31 -0700
committerazidar2015-03-18 17:28:31 -0700
commitc61accd4f1c46fa24cf7354d6326141950d827c8 (patch)
tree03f0d705a2e4c98e856bd4205e1d8a5ba412ce32 /notes/stanza-cheatsheet.txt
parentf0b8da76b17e568bd51a95ac04e7bad6ce4232c5 (diff)
Finished expand accessors and lower to ground
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