--- /dev/null
+\r
+@JavaType "org.simantics.scl.runtime.tuple.Tuple3"\r
+data Tuple3 a b c =\r
+ @FieldNames [c0, c1, c2] \r
+ Tuple3 a b c\r
+ \r
+toTuple (Tuple3 x y z) = (x, y, z)\r
+\r
+main = toTuple (Tuple3 "x" "y" "z")\r
+--\r
+(x,y,z)
\ No newline at end of file