Generalize IsString

Dannyu NDos ndospark320 at gmail.com
Sat Jun 6 06:11:53 UTC 2020


As we already have IsList, shouldn't we just do this?

class (IsList l, Item l ~ Char) => IsString l

instance (a ~ Char) => IsString [a]
instance (a ~ Char) => IsString (NonEmpty a)
instance (a ~ Char) => IsString (ZipList a)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20200606/3e878b73/attachment.html>


More information about the Libraries mailing list