This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/tests/03-Typing/24-record-proj.good.typing.hopix.human-readable

7 lines
114 B
Text
Raw Permalink Normal View History

2023-11-15 19:08:33 +01:00
type p = { x : int, y : string }
let p : p = { x = 42, y = "Dalek" }<>
let px : int = p.x
let py : string = p.y