Isaac Dupree wrote:
oh, darnit, you wanted to panic for invalid FastBools... which seems reasonable and hard to work around.

although if they're really supposed to be Fast, I question putting any extra checks than "is it equal to zero or not" for example, even to panic. chr# doesn't do checks the way Data.Char.chr does, so my fastChr doesn't do checks either, so that my patch would preserve GHC's speed. In fact that might make FastBool slower than Bool... maybe FastBool is not needed anyway and can be eliminated from the few places it's used?

I'm in a bit of a time-crunch now and can't do too much though... I'll try to at least get what patches I've already made, validated and in

~Isaac

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to