aboutsummaryrefslogtreecommitdiff
path: root/doc/spell-check-workflow-2.scm
blob: 15b380fd561397d6aed3c6c509006bb6bfdcedec (plain)
1
2
3
4
5
6
7
(workflow (text-file dictionary)
  (tee (pipe (split-words #:text text-file)
                   (downcase #:words words)
                   (sort (sort-words) #:words downcased-words)
                   (rename #:sorted-words sorted))
             (pipe (sort (sort-dictionary) #:words dictionary)
                   (rename #:sorted-dictionary sorted))))