When I attempt to run HUGS under Windows 98, the following message appears:

ERROR: Option string must begin with '+' or '-'
FATAL ERROR: Unable to load prelude
 
This error probably occurred because the hugs path contains
spaces and is not quoted (between "). You should edit the
option settings in the registry (using "regedit.exe"):
either at:
    HKEY_LOCAL_MACHINE\Software\Haskell\Hugs\May 1999\options
or
    HKEY_CURRENT_USER\Software\Haskell\Hugs\May 1999\options
 
Make sure that the path option is something like:
    options = -P"c:\\program files\\hugs98\\lib\\"
 
(wrong options are:
    -Pc:\program files\hugs98\lib\            (unquoted and spaces)
    -P"c:\program files\hugs98\lib\"         (quoted but single backslashes)
)
 
Hope this helps,
    Daan.
 

Reply via email to