shithub: limbobyexample

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