
They really go hand in hand, so how about +N implying -98? (but not the other way around, at least not for now.) --sigbjorn

On Mon, Nov 04, 2002 at 07:53:40AM -0800, Sigbjorn Finne wrote:
They really go hand in hand, so how about +N implying -98? (but not the other way around, at least not for now.)
I think they can be independent, if you stretch the meaning of +98 a bit, to "Haskell 98 + the common library baseline". After all, with +98 you still have hierarchical module names and the FFI. In fact, the h98 field is misdocumented as "set in Haskell'98 mode", when it's really "shown in Haskell'98 mode". I think a better meaning would be "available in Haskell'98 mode" (so with +98 the option gets cleared initially and cannot be set) but this can wait. In short, I favour setting h98 to 1 for 'N', or as a second choice leaving it alone.

On Mon, Nov 04, 2002 at 07:53:40AM -0800, Sigbjorn Finne wrote:
They really go hand in hand, so how about +N implying -98? (but not the other way around, at least not for now.)
I don't think they're really linked: hugs +N +98 works fine for lots of modules, including all the H98 library modules. Also, it's hugs +N that makes the Prelude H98-compliant. I think of -98 as enabling various type system extensions, and assorted other wierdness.
participants (2)
-
Ross Paterson
-
Sigbjorn Finne