
Hi Now it finally worked... Atleast it does not complain anymore about the import... I guess one has to import Text.XML.HaXml and it seems to work... Thanx a lot !!! Cu B -----Ursprüngliche Nachricht----- Von: haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] Im Auftrag von Stefan O'Rear Gesendet: Sonntag, 27. Mai 2007 17:56 An: Andrew Coppin Cc: haskell-cafe@haskell.org Betreff: Re: AW: [Haskell-cafe] Problems with HaXml -- ghc cant find the libs On Sun, May 27, 2007 at 04:48:10PM +0100, Andrew Coppin wrote:
Björn wrote:
My Programm is something simple right now:
Module bjoern where
Keywords like "module" must be lower case. Module names must be capitalized. module Bjoern where
Import HaXml
import Text.XML.HaXml
Import IO
import IO (which isn't needed here, but it's harmless)
Main = putStrLn "hello world"
Variable names such as "main" must be lowercase. main = putStrLn "hello world"
But it always fails to import the lib...
This is what I type to compile it in the shell: ghc --make bjoern
The argument to --make must be a file name, and the file must have a .hs or .lhs extension. Stefan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.0/819 - Release Date: 26.05.2007 10:47 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.0/819 - Release Date: 26.05.2007 10:47