16 Jun
2001
16 Jun
'01
12:42 a.m.
Contrary to the documention, it appears that runhugs (used explicitly or via #!) requires the program to be non-literate. I'm running Hugs versions of February 2000 and February 2001 on Solaris machines. buzzard(163)% cat ./hello-lit #!/stotts2/epa1/hugs98-Feb2001/release/solaris/bin/runhugs
module Main where main = putStrLn "Hello, World!" buzzard(164)% ./hello-lit runhugs: Error occurred Reading file "./hello-lit": Parsing ERROR ./hello-lit:3 - Syntax error in input (unexpected symbol ">")
buzzard(165)% cat ./hello-nonlit #!/stotts2/epa1/hugs98-Feb2001/release/solaris/bin/runhugs module Main where main = putStrLn "Hello, World!" buzzard(166)% ./hello-nonlit Hello, World! buzzard(167)%