]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Vector1.scl
Supply SVG text editor with element measurement context
[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]