Syntax extensions (was: RE: The Future of Haskell discussionatthe Haskell Workshop)

Ketil Z. Malde ketil at ii.uib.no
Thu Sep 18 07:20:54 EDT 2003


nilsson at cs.yale.edu writes:

>>  - There are features you might want to *disable*.  eg.
>>    GHC lets you turn off the monomorphism restriction.

"NoMonomorphismRestriction"?

>> Perhaps something like this:
>>  {-# LANGUAGE Haskell98 +FFI -MonomorphismRestriction #-}

> Nice!

I feel pragmas embedded in comments are a bit hackish, and I'd rather
have real syntax for this.  Of course, that would be an extension in
itself :-) 

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell mailing list