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

[EMAIL PROTECTED]:/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: [email protected]
||   || 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>

[EMAIL PROTECTED]:/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: [email protected]
||   || 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
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to