1 module { export = [main], features = [chr] }
2 import "StandardLibrary"
4 data V = V { x :: Double, y :: Double }
10 X V { ?y } => print ?y
11 True => X V { x = 1.0, y = 2.0 }
12 True => X V { x = 3.0, y = 4.0 }
20 module { export = [main], features = [chr] }
21 import "StandardLibrary"
23 data V = V { x :: Double, y :: Double }
28 True => X V { x = 1.0 }
30 9:15-9:28: Field y not defined.