Source

ocamlspot / tests / record.ml

Full commit
1
2
3
4
type t = { (* t => *) foo (* <= t *) : int ; bar : float } 
    
let x = { foo (* ? t *) = 1; bar = 4.2 }
let _ = x.foo (* ? t *)