Re: Double - CDouble, realToFrac doesn't work

2004-11-05 Thread Dylan Thurston
On Thu, Nov 04, 2004 at 08:32:52PM +0100, Sven Panne wrote: It's an old thread, but nothing has really happened yet, so I'd like to restate and expand the question: What should the behaviour of toRational, fromRational, and decodeFloat for NaN and +/-Infinity be? Even if the report is unclear

Re: [Haskell-cafe] Re: Double - CDouble, realToFrac doesn't work

2004-11-05 Thread Dylan Thurston
On Fri, Nov 05, 2004 at 02:53:01PM +, MR K P SCHUPKE wrote: My guess is because irrationals can't be represented on a discrete computer Well, call it arbitrary precision floating point then. Having built in Integer support, it does seem odd only having Float/Double/Rational... There are

Re: deriving...

2004-10-20 Thread Dylan Thurston
On Tue, Oct 19, 2004 at 08:08:49PM +0200, Andres Loeh wrote: Simon Peyton-Jones wrote: derive( Typeable (T a) ) But that means adding 'derive' as a keyword. Other possibilities: deriving( Typeable (T a) ) ... Any other ideas? instance Typeable (T a) deriving Why

Re: [Haskell] Dynamically loading wxhaskell?

2004-04-14 Thread Dylan Thurston
On Wed, Apr 14, 2004 at 09:37:02AM +0100, Simon Marlow wrote: ... That symbol looks suspiciously like it comes from the separate OpenGL parts of WX, which reside in a separate library (/usr/lib/libwx_gtk_gl-2.4.so here). On my system, libwxc has an explicit dependency on libwx_gtk_gl, because

Re: [Haskell] Dynamically loading wxhaskell?

2004-04-13 Thread Dylan Thurston
On Tue, Apr 13, 2004 at 03:53:31PM +0100, Simon Marlow wrote: I tried stripping /usr/lib/libwx_gtk-2.4.so.0.1.1 and libwxc-0.6.so, and GHCi was still able to load the wx package successfully. In fact, libwx_gtk appeared to be already stripped. What error messages do you get, specifically?

Re: [Haskell] Dynamically loading wxhaskell?

2004-04-03 Thread Dylan Thurston
On Fri, Apr 02, 2004 at 01:59:08PM +0100, Simon Marlow wrote: Very strange. Is /usr/lib/libdl.so perhaps a symlink to a library that doesn't exist? That could happen if an upgrade had gone wrong, perhaps. Thanks, it was a dangling symlink due to my filesystem layout. Sorry for the stupidity.

Re: replacing the Prelude (again)

2002-07-17 Thread Dylan Thurston
On Tue, Jul 16, 2002 at 04:02:44PM +1000, Bernard James POPE wrote: I would like to use do-notation in the transformed program, but have it refer to Prelude.Monad and not MyPrelude.Monad which is also in scope. Why do you have a MyPrelude.Monad (different from Prelude.Monad) if you don't want

Re: Replacing the Prelude

2002-05-14 Thread Dylan Thurston
to implement it. --Dylan Thurston msg03485/pgp0.pgp Description: PGP signature

Re: Congrats to Mandrake

2002-02-20 Thread Dylan Thurston
debian user should just be able to say apt-get install ghc5 to get the latest package from the nearest mirror... Better: http://packages.debian.org/testing/devel/ghc5.html http://packages.debian.org/unstable/devel/ghc5.html --Dylan Thurston msg03123/pgp0.pgp Description: PGP signature

Re: FFI

2002-01-12 Thread Dylan Thurston
situation: I want to interface to C code with several rather large structures, so plain FFI is not very attractive. I've started using C-Haskell, but am curious about other people's experiences.) --Dylan Thurston msg02917/pgp0.pgp Description: PGP signature

Re: POLL: GC options

2001-08-06 Thread Dylan Thurston
because as Sigbjorn points out we don't ship the RtsFlags.h file which contains the definition of the flags structure :-( I'd like to be able to set these options with a flag to the compiler. --Dylan Thurston ___ Glasgow-haskell-users mailing list [EMAIL