Proposal: Add IsString instance for (Maybe a) to base

Carter Schonwald carter.schonwald at gmail.com
Thu Jul 11 06:57:34 CEST 2013


-1 here too.


On Wed, Jul 10, 2013 at 10:02 AM, David Luposchainsky <
dluposchainsky at googlemail.com> wrote:

> On 2013-07-10 15:55, Joachim Breitner wrote:
> > Hi,
> >
> > Am Mittwoch, den 10.07.2013, 09:21 +1000 schrieb Ivan Lazar Miljenovic:
> >> -0.5 from me; I think it's too easy to forget that it's a Maybe value
> >> there when refactoring, etc.
> >
> > same here; even with OverloadedStrings Haskell should feel as strongly
> > typed as it is.
>
> Agreed. Overloaded strings should be reserved for things that *are*
> strings in a certain way. A "Maybe String" is not a special way of
> storing a string (like for example a "Vector Char"), it's a String with
> an additional value. Providing a Maybe instance goes too far in the
> direction of having a general "'return' with strings" function, so I'm
> -1 on this.
>
> David
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20130711/ae05860a/attachment.htm>


More information about the Libraries mailing list