I've uploaded a bugfix version of Alex, version 2.0.1. http://www.haskell.org/alex/ This version builds with GHC 6.4, and fixes a bug which affects large lexers. Cheers, Simon