aboutsummaryrefslogtreecommitdiffstats
path: root/spec/e2e/test-index.alv
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2022-02-02 16:38:17 +0000
committers-ol <s+removethis@s-ol.nu>2022-02-02 16:38:28 +0000
commit5311960780ccd26ef5d4730ea755154e3d61f25a (patch)
tree14abbb8876e9d3fdaebde86bdaa625310433ef31 /spec/e2e/test-index.alv
parentwip vector math (diff)
downloadalive-vector-math.tar.gz
alive-vector-math.zip
wip for releasevector-math
Diffstat (limited to 'spec/e2e/test-index.alv')
-rw-r--r--spec/e2e/test-index.alv9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/e2e/test-index.alv b/spec/e2e/test-index.alv
new file mode 100644
index 0000000..3a06047
--- /dev/null
+++ b/spec/e2e/test-index.alv
@@ -0,0 +1,9 @@
+([10]import array- struct-)
+
+([2]def notes ([3]array
+ ([5]struct 'note' 'a' 'octave' 3)
+ ([6]struct 'note' 'e' 'octave' 3)
+ ([7]struct 'note' 'f' 'octave' 2)))
+
+([4]trace notes)
+([8]trace ([9]struct-/get ([11]array-/get notes 1) "octave"))