On Sat, Nov 12, 2005 at 09:27:20AM -0500, David Roundy wrote:
> On Fri, Nov 11, 2005 at 06:36:24PM +0100, Tommy Pettersson wrote:
> > casting.  The declaration should probably be CInt -> CInt and the
> > invocation should convert this into Char -> Bool.
> 
> Indeed, we definitely should declase it as CInt -> CInt.  Otherwise we
> could get all sort of exciting cross-platform troubles.

But... it works for me! ;-)
Well, I hoped someone who knew how to to it would correct it.


> > I don't know if it works.  I don't have GHC 2.4 (yet).
> 
> I think you mean ghc 6.4?

Yes, that's what I mean.


> I think this definitely requires significant testing (or confirmation from
> someone who really knows what they're talking about), and won't make it
> into 1.0.4.  But with care, perhaps 1.0.5 needn't take so long to
> release...

Yes, confirmation that it works is a must. :-)  Well ok, we'll
wait until 1.0.5 then, and I'll get time to do it properly.

I would like to put a note in the docs about this bug for
1.0.4 though.  I'll send it shortly (if it's not too late).


> import Data.Char ( ord )
                     ^^^
That's what I was missing!  (I knew how to do it with (read
. show), but that's ugly and probably could go wrong) Thanks.


-- 
Tommy Pettersson <[EMAIL PROTECTED]>

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to