shithub: limbobyexample

ref: be5690bf05707107bc6f02005af82399b0c1c655
dir: /Modules/towns.m/

View raw version
include "persons.m";

Towns: module {
	init: fn();
	mktown: fn(): ref Town;

	persons: Persons;

	Town: adt {
		pop: array of ref Persons->Person;
		name: string;
		stringify: fn(t: self ref Town): string;
	};
};