I did the following:
download filemanip-0.3.6.2.tar.gz
tar xvf ...
cd filemanip-0.3.6.2
runhaskell Setup configure --prefix=$HOME/ghc
--> it tells me
Setup: At least the following dependencies are missing:
mtl -any, unix-compat -any
So, I did the following:
download uni
I tried to use Network.HaskellNet.IMAP
to read emails and failed:
user error (NO: Plaintext authentication disallowed on non-secure
(SSL/TLS) connections.)
Any solution for reading emails over SSL connection ??
thanks
HP
___
Glasgow-haskell-users
ith some higher order foldx-like functions.
Thanks a lot,
--hp
On Wed, 21 May 2008, HP Wei wrote:
>
> Suppose p1, p2, p3 are 3 predicates
> that take an input -- say, a String.
> They return either (True, result)
> or False.
>
> I want to get an effect
In the linker ld, there is a -R option
to encode lib-search-directories into the
object file.
Can we not do that in compiling this
ghc -o foo --make foo.hs
???
Thanks
HP
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
h
Suppose p1, p2, p3 are 3 predicates
that take an input -- say, a String.
They return either (True, result)
or False.
I want to get an effect like in this expression:
case p1 s of
(True, r) -> r
False -> case p2 s of
(True, r) -> r
False -> ca
I cut and paste the code from
http://blog.moertel.com/articles/2004/03/13/concurrent-port-scanner-in-haskell
And compiled the resulting portscan.hs
with both ghc-6.8.2 and ghc-6.6.1
on a host with Sun-Sparc [SunOS 5.10].
Besides the issue of binary-code-size blow-up with ghc-6.8.2,
there is a
with 6.8.2 ?
Is it a specific platform dependent issue --- i.e.
does it occur on linux machines ??
--hp
On Tue, 6 May 2008, HP Wei wrote:
>
> machine: Sun Sparc, with SunOS 5.10
> ghc version --- 6.8.2 [ solaris-binaries downloaded from ghc site ]
>
> The Question:
>
hi Bulat, thanks for the speedy reply!
I tried the following two ways and got the same result:
(1) in the shell,
strip hello
(2) ghc -optl-s -o hello -L../lib hello.hs
They both result in a binary size of ~2.5MBytes,
which is about 5 times what I expected (500kbytes).
Have I ha
machine: Sun Sparc, with SunOS 5.10
ghc version --- 6.8.2 [ solaris-binaries downloaded from ghc site ]
The Question:
I compiled the code: putStr "Hello World!\n"
ghc -o hello -L../lib hello.hs
where ../lib contains the libgmp.so
The resulting binary code size is 3.9 Mbytes
I had t