CDuce/Types/Records

From Wikibooks, open books for an open world
< CDuce | Types
Jump to: navigation, search
type T = { a=Int b=Char c=?Char}
let x : T = { b='2' a=1 c='3' }
let y : T = { a=1 b='2'}
y.a;;
x.c;;
Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export