ref: 600bbfe4aaa9ad0f73d8d73eef1b7670e5f7d3a3
dir: /module/complete.m/
Complete: module { PATH: con "/dis/lib/complete.dis"; Completion: adt { advance: int; # whether forward progress has been made complete: int; # whether the completion now represents a file or directory str: string; # string to advance, suffixed " " (file) or "/" (directory) nmatch: int; # number of files that matched filename: array of string; # their names }; init: fn(); complete: fn(dir, s: string): (ref Completion, string); };