checklist-tester/formal/checklist.vdmsl
2024-02-12 22:54:54 +00:00

26 lines
409 B
Plaintext

module Checklist
exports all
definitions
values
types
String = seq of char;
-- Item of a checklist, e.g. Landing gear down
Item ::
todo : String
checked : bool;
-- A section of a checklist, e.g. Landing Checklist
Section = seq of Item;
-- Full checklist, e.g. Startup, Descent, Landing Checklist
Checklist = seq of Section;
functions
end Checklist