lex as non-haskell