Reputation: 305
What is the difference between following two syntaxes.
(* First *)
type named = < age :int ;name :string >;;
(* Second *)
type named = {
age: int;
name: string
};;
I know the second one is a record but what is the first one, I just need to know a name that I can search online to learn more.
Upvotes: 1
Views: 62