[Haskell] new release of Hugs / preprocessor usage
Christian Maeder
maeder at tzi.de
Tue May 16 05:18:16 EDT 2006
Ross Paterson wrote:
> We are pleased to announce a new major release of Hugs,
How do I use the preprocessor option -F of hugs?
Without this option hugs correctly reports: unexpected symbol "#"
But adding "-Fcpphs" results in "Unable to load Prelude"
Christian
maeder at denebola:/local/home/maeder/haskell/HetCATS>
/local/home/maeder/hugs/bin/hugs Common/Lib/Map.hs
__ __ __ __ ____ ___ _________________________________________
|| || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005
||---|| ___|| World Wide Web: http://haskell.org/hugs
|| || Report bugs to: hugs-bugs at haskell.org
|| || Version: May 2006 _________________________________________
Haskell 98 mode: Restart with command line option -98 to enable extensions
ERROR "Common/Lib/Map.hs":153 - Syntax error in declaration (unexpected
symbol "#")
Hugs>
maeder at denebola:/local/home/maeder/haskell/HetCATS>
/local/home/maeder/hugs/bin/hugs
-F/local/home/maeder/hugs/bin/cpphs-hugs Common/Lib/Map.hs
__ __ __ __ ____ ___ _________________________________________
|| || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005
||---|| ___|| World Wide Web: http://haskell.org/hugs
|| || Report bugs to: hugs-bugs at haskell.org
|| || Version: May 2006 _________________________________________
Haskell 98 mode: Restart with command line option -98 to enable extensions
ERROR
"/local/home/maeder/hugs/lib/hugs/packages/hugsbase/Hugs/Prelude.hs":1 -
Syntax error in input (unexpected symbol "#")
FATAL ERROR: Unable to load Prelude
More information about the Haskell
mailing list