shithub: limbobyexample

ref: 87e325f2c9792ece2583761ca26c57318a698be9
dir: limbobyexample/Modules/persons.m

View raw version
Persons: module {
	init: fn();
	mkperson: fn(): ref Person;
	getpop: fn(): int;

	Person: adt {
		age:	int;
		name:	string;
		stringify: fn(p: self ref Person): string;
	};
};