module: #{ include Store; include Snapshot; } type t = { current: String; revision: Int; } let create = (value) => { current = value; revision = 1; }; let read = (store) => store.current; let snapshot = (store) => store.revision;