shithub: limbobyexample

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