Jorge Guerra wrote:
Hello to all,
I have recently began using ghc, in particular the network module and
I'm having problems with it. The following code ilustrates my problem,
is very simple all I try to do is connect to a socket in my local
machine send a request and print the response.
[snip]
When I try to compile it using the command:
ghc -o socketTest socketTest.hs
Try adding the network package as well;
$ ghc -o socketTest socketTest.hs -package network
You might also find the command
$ ghc --make -o socketTest socketTest.hs
useful since it will add exposed packages for you.
Cheers,
Lennart Kolmodin
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users