Alex is a Lex-like package for generating Haskell scanners by Chris Dornan. WWW: http://www.syntaxpolice.org/~ijones/alex/