suggestion: add a .ehs file type

Alex Jacobson alex at
Tue Nov 20 16:42:44 EST 2007

I'm fine with that as well.  I'm just opposed to being force to look up 
the precise names the compiler happens to use for each language 
extension I happen to use.  Having -fglasgow-exts turned on by default 
also works.


Wolfgang Jeltsch wrote:
> Am Dienstag, 20. November 2007 22:15 schrieb Alex Jacobson:
>> .ehs stands for extended haskell and encapsulates the 90% case of people
>> just wanting -fglasgow-exts with a minimum of fuss.
>> Having a filetype seesm better than the alternatives of either adding
>> boilerplate language/options pragmas to the top of your source files or
>> putting them in a cabal file.
>> -Alex-
> And if a new Haskell standard is released, we have to rename lots of files 
> from *.ehs to *.hs. :-( 
> Extended Haskell is Haskell in a different version.  So it’s still Haskell and 
> should be put into *.hs files.
> Best wishes,
> Wolfgang
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at

More information about the Glasgow-haskell-users mailing list