Hi, we could just require ghc>=7.2 and write a Show instance for SeqData. Then we can print everything as "Strings" and read everything as Strings...
But of course, using ghc-7.2, the user can decide anyway, since overlapping instances are now decided client-side. Gruss, Christian >Ketil Malde <ke...@malde.org> writes: > >> class IsStr a b where >> toStr :: a -> b >> fromStr :: b -> a > >Maybe this is overkill. We decided on lazy bytestrings, so perhaps >users should just Deal With It. I've now added IsString to SeqData and >SeqLabel types, so that you can use [Char] constants, and also added >the customary (if a bit ugly) un*-functions to the data types. So >that it now reads: > > newtype SeqData = SeqData { unSD :: LC.ByteString } -- ^ Sequence > data are lazy bytestrings of ASCII characters. > >Any notes or votes - pro et contra? If not, I'll tag this 0.1, and >work to port everything else to use it. > >-k >-- >If I haven't seen further, it is by standing in the footprints of >giants _______________________________________________ Biohaskell mailing list Biohaskell@biohaskell.org http://malde.org/cgi-bin/mailman/listinfo/biohaskell