def word.body.go
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
1288# the spelling, reversed, then put back in order at the end
1289def word.body.go(cs: List<&2, Char>, lead: Bool, out: List<&2, Char>) -> List<&2, Char>:
1290 match cs:
1291 case []:
1292 List.reverse(&2, Char, out)
1293 case +c <> t:
1294 word.body.go(t, False{}, word.body.put(lead, c, out))