shithub: limbobyexample

ref: c91045be5ed9f9019d92ce23a3955313e691f263
dir: /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;
	};
};