home
/
code
/
tiger.ml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7f03ff08b5df1946e67ed987e1a0cdb4f9ca475f
[tiger.ml.git]
/
compiler
/
testcases
/
test03.tig
1
/* a record type and a record variable */
2
let
3
type rectype = {name:string, age:int}
4
var rec1:rectype := rectype {name="Nobody", age=1000}
5
in
6
rec1.name := "Somebody";
7
rec1
8
end
This page took
0.06661 seconds
and
5
git commands to generate.