shithub: limbobyexample

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