]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Vector1.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Vector1.scl
1 import "StandardLibrary"
2
3 a :: Vector Double
4 a = vector [1,2,3]
5
6 main = map (a !) [0..length a-1]
7 --
8 [1.0, 2.0, 3.0]