Now suppose that I told everyone that using a scanner would allow us to use --warning-blatant-self-promotion-- my p-m: modifier system:
(def get-word (s) (let (pre-word word build hd tl) nil (= build (fn (c) (if hd (do (= (cdr tl) (cons c nil)) (= tl (cdr tl))) (do (= hd (cons c nil)) (= tl hd)))) pre-word (p-m:fn ( (,@(whitec _) . ss) ) (pre-word ss) (ss) (word ss)) word (p-m:fn ( (,(c (nonwhite c)) . ss) ) (do (build c) (word ss)) (string hd))) (pre-word (scanner-for-string s))))