"local %s = %s end"):format(tostring(subexp.
{ Some(l) -> MarkovChain.new(l)?, None -> match files.as_vector()?.as_string_list() { Some(l) -> WordList.new(l)?, None -> WordList.default(), }; globals.add("MARKOV", corpus); globals.add("WORDLIST", wordlist); Some(()) } fn as_country_matcher(matcher: Val<Matcher>) -> Option<Val<MaxmindCountryDB.