def spelled.add
import shake@0.7.0.0/src/check.bend as Checkimport Base
38# the spellings seen, with this one when there is one
39def spelled.add(sp: Maybe<&2, String>, seen: List<&2, String>) -> List<&2, String>:
40 match sp:
41 case None{}:
42 seen
43 case Some{ss}:
44 ss <> seen