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

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 uncle

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 Type

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, beca

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, specificall

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
tting too hairy; I think I decided that lists and tuples were too deeply intertwined into the language to change cleanly. I'll dig up my old notes and write more, and then maybe write a complete design document and get someone to implement it. --Dylan Thurston msg03485/pgp0.pgp Description: PGP signature

Re: Congrats to Mandrake

2002-02-20 Thread Dylan Thurston
/ghc5/ > > Though of course any 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

Re: FFI

2002-01-12 Thread Dylan Thurston
of each? Presumably you recommend C->Haskell, since you wrote it; what makes it better? (My 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: UniCode

2001-10-05 Thread Dylan Thurston
. etc. Any program using this library is bound to get confused on Unicode strings. Even before Unicode, there is much functionality missing; for instance, I don't see any way to compare strings using a localized order. Is anyone working on honest support for Unicode, in the form of a real

Re: POLL: GC options

2001-08-06 Thread Dylan Thurston
this using the hooks that the RTS provides, although it's a > bit inconvenient at the moment 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 com