Re: Temporarily overriding Data.Generic

2009-02-04 Thread José Pedro Magalhães
Hi Deniz, On Thu, Feb 5, 2009 at 00:11, Deniz Dogan wrote: > Sorry for those who receive this who have already gotten it from > haskell-cafe. > > --- > > Hi > > I'm currently working on "hacking" Data.Generics for my master thesis. > I'm basically trying to find out whether it can be made any fa

Re: Temporarily overriding Data.Generic

2009-02-04 Thread Duncan Coutts
On Thu, 2009-02-05 at 00:11 +0100, Deniz Dogan wrote: > I'm currently working on "hacking" Data.Generics for my master thesis. > I'm basically trying to find out whether it can be made any faster > using e.g. rewrite rules. The problem I'm having is that I need an > easy way to import my own modifi

Temporarily overriding Data.Generic

2009-02-04 Thread Deniz Dogan
Sorry for those who receive this who have already gotten it from haskell-cafe. --- Hi I'm currently working on "hacking" Data.Generics for my master thesis. I'm basically trying to find out whether it can be made any faster using e.g. rewrite rules. The problem I'm having is that I need an easy

Re: Ready for testing: Unicode support for Handle I/O

2009-02-04 Thread Paolo Losi
Max Vasin wrote: Wouldn't it be more correct to separate binary IO, which return [Word8] (or ByteString) and text IO which return [Char] and deal with text encoding? IIRC that was done in Bulat Ziganshin's streams library. That's exactly what I meant. Text IO could be then implemented on to

Re: Ready for testing: Unicode support for Handle I/O

2009-02-04 Thread Paolo Losi
Simon Marlow wrote: The only change to the existing behaviour is that by default, text IO is done in the prevailing encoding of the system. Handles created by openBinaryFile use the Latin-1 encoding, as do Handles placed in binary mode using hSetBinaryMode. wouldn't be semantically correct fo