[Haskell-cafe] Why can I run (runghc) some Haskell scripts but I cannot seem to compile them?

2009-11-12 Thread Casey Hawthorne
Why can I run (runghc) some Haskell scripts but I cannot seem to compile them? e.g. http://www.haskell.org/all_about_monads/examples/example25.hs I've changed the import listing to the following: import IO import System import Monad import Data.Maybe import Data.List import Data.Char (toLower)

[Haskell-cafe] Why can I run (runghc) some Haskell scripts but I cannot seem to compile them?

2009-11-12 Thread Casey Hawthorne
Why can I run (runghc) some Haskell scripts but I cannot seem to compile them? e.g. http://www.haskell.org/all_about_monads/examples/example25.hs I've changed the import listing to the following: import IO import System import Monad import Data.Maybe import Data.List import Data.Char (toLower)

Re: [Haskell-cafe] Why can I run (runghc) some Haskell scripts but I cannot seem to compile them?

2009-11-12 Thread Daniel Peebles
Did you try ghc --make? On Thu, Nov 12, 2009 at 3:12 PM, Casey Hawthorne cas...@istar.ca wrote: Why can I run (runghc) some Haskell scripts but I cannot seem to compile them? e.g. http://www.haskell.org/all_about_monads/examples/example25.hs I've changed the import listing to the following:

Re: [Haskell-cafe] Why can I run (runghc) some Haskell scripts but I cannot seem to compile them?

2009-11-12 Thread Casey Hawthorne
Shazam! Thank you! On Thu, 12 Nov 2009 15:13:47 -0500, you wrote: Did you try ghc --make? On Thu, Nov 12, 2009 at 3:12 PM, Casey Hawthorne cas...@istar.ca wrote: Why can I run (runghc) some Haskell scripts but I cannot seem to compile them? e.g.