gtk+hs and libgmp

Gérard Milmeister gemi@bluewin.ch
27 Oct 2001 17:42:01 +0200


On Sat, 2001-10-27 at 17:27, Manuel M. T. Chakravarty wrote:
> Gérard Milmeister <gemi@bluewin.ch> wrote,
> 
> > On Thu, 2001-10-25 at 13:53, Simon Marlow wrote:
> > > It seems very strange that the libgmp in your GHC installation doesn'=
t work.  How did you install GHC?  Do you have problems linking other programs, or just gtk+hs programs?
> > > 
> > As far as I know, it happens only with gtk+hs. Small programs I have
> > written are linked alright.
> 
> Do these small programs actually use any arbitrary precision
> arthimetic - ie, use the type Integer?
> 
> Manuel
Something like this?

module Main where

main = print (1000000000000000000000000000000::Integer)

Yes, it works.

-- 
Gérard Milmeister
Tannenrauchstr. 35
8038 Zürich
gemi@bluewin.ch