shithub: limbobyexample

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