Types
History = ref object first*: HistoryEntry last*: HistoryEntry mtime*: int64 transient*: bool
HistoryEntry = ref object s*: string prev*: HistoryEntry next*: HistoryEntry
Procs
proc newHistory(maxLen: int; mtime = 0'i64): History {....raises: [], tags: [], forbids: [].}
proc parse(hist: History; ps: PosixStream; otime = int64.low; merge = false): Opt[ void] {....raises: [], tags: [], forbids: [].}