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/25-polymorphic-record-proj.good.typing.hopix.human-readable
Adrien Guatto 6355f88c0f Jalon 3
2023-11-15 19:08:33 +01:00

7 lines
170 B
Text

type p<`a, `b> = { x : `a, y : `b }
let p : p<int, string> = { x = 0, y = "Rose Tyler" }<int, string>
let x : int = p.x<int, string>
let y : string = p.y<int, string>