Language detection in Haskell.