Alternative Proxy

amindfv at gmail.com amindfv at gmail.com
Thu Mar 10 00:48:08 UTC 2016


> El 9 mar 2016, a las 17:49, Fumiaki Kinoshita <fumiexcel at gmail.com> escribió:
> 
> This is the only possible definition...so it should exist

Although I have nothing particularly against an Alternative instance for Proxy, I'd like to say I think "this is the only possible definition, so it should exist" is a nonsequitur.

If (again, not specifically speaking about "instance Alternative Proxy" here) there is an instance method with no likely practical use, the fact that the compiler yells when you use it is a *feature*.

Tom


> instance Alternative Proxy where
>   empty = Proxy
>   _ <|> _ Proxy
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries


More information about the Libraries mailing list