Hi Ketil, IsString is "base"; so it would not increase the number of dependencies. And I guess that we do not have to care about supporting another compiler than GHC (regarding OverloadedStrings).
And if it looks like a string, It should be overloaded -- in fact, I'll be doing this to the XNA datatypes soonish. I'll have to introduce biocore depencies now, I guess ;-) Gruss, Christian * Ketil Malde <ke...@malde.org> [02.09.2011 09:48]: > > Hi, > > I've finally gotten around to implement the newtype data defs in > biocore. Type safety, yay! > > Of course, it's nice to be able to convert sequence data to and from > strings, bytestrings, and perhaps lists of integers (for quality data). > > Two options: implement IsString, or implement a separate class. > Normally I'd go for IsString, but a stated (or unstated?) goal of > biocore is a minimum of dependencies. Besides IsString might not be a > good fit for quality data. > > Opinions? > > -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
pgpJeLM5UfAOw.pgp
Description: PGP signature
_______________________________________________ Biohaskell mailing list Biohaskell@biohaskell.org http://malde.org/cgi-bin/mailman/listinfo/biohaskell