syntax across languages

Ganesh Sittampalam
Tue, 12 Feb 2002 14:12:33 +0000

On 12 Feb 2002 14:49:16 +0100, Pixel <> wrote:

>ERROR "/usr/share/hugs/lib/exts/ST.hs":48 - Syntax error in type expression (unexpected `.')
>isn't there a way ST.hs would require the extensions? a pragma or something?
>someone not knowing the "-98" would wonder for a long time about what to do

Being able to specify the extensions required in a source file would be very
useful in a range of cases. Very often helping other people with Haskell (in
the case where they are trying to use someone else's module) is just a
question of saying "try '-98'" or "try '-fglasgow-exts'" or whatever.