7 lines
170 B
Text
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>
|