Hello, I noticed both WAI and the Snap Framework are using the CIByteString type for doing case insensitive comparison on ByteStrings:
http://github.com/snoyberg/wai/blob/ver0.2/Network/Wai.hs#L140 http://hackage.haskell.org/packages/archive/snap-core/0.2.7.1/doc/html/Data-CIByteString.html What about sharing the same type for this? I've written a small package that generalizes the CIByteString type to any string-like type (String, ByteString, ShowS, etc.): http://code.haskell.org/~basvandijk/code/case-insensitive What do you think of this and would you guys like to use it? If so I will release it on Hackage. Regards, Bas _______________________________________________ Snap mailing list [email protected] http://mailman-mail5.webfaction.com/listinfo/snap
