shithub: limbobyexample

ref: 577f8a21ded3a49c799ee49b90508801f1361842
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;
	};
};