Proposal: newtype for applicatives of monoids

Petr Pudlák petr.mvd at gmail.com
Wed Aug 12 16:03:30 UTC 2015


Thanks!

Petr

Dne st 12. 8. 2015 17:54 uživatel Edward Kmett <ekmett at gmail.com> napsal:

> It was fixed in HEAD for a while. I've now shipped that fix as part of
> 3.11.
>
> -Edward
>
> On Wed, Aug 12, 2015 at 4:09 AM, Petr Pudlák <petr.mvd at gmail.com> wrote:
>
>> IIRC the accessor is still called getApp in reducers, which is slightly
>> inconsistent. Perhaps it'd be worth fixing on some future release that will
>> bring other incompatible changes.
>>
>> Thanks
>> Petr
>>
>> Dne po 3. 8. 2015 21:14 uživatel Edward Kmett <ekmett at gmail.com> napsal:
>>
>> To offer a couple more colors for the bikeshed:
>>
>> In my old monoids package, this exists as App:
>>
>>
>> http://hackage.haskell.org/package/monoids-0.3.2/docs/Data-Monoid-Applicative.html
>>
>> In the newer reducers package, it has been shortened to Ap:
>>
>>
>> http://hackage.haskell.org/package/reducers-3.10.3.2/docs/Data-Semigroup-Applicative.html
>>
>> -Edward
>>
>> On Mon, Aug 3, 2015 at 1:58 PM, John Wiegley <johnw at newartisans.com>
>> wrote:
>>
>> >>>>> Christopher Allen <cma at bitemyapp.com> writes:
>>
>> > Might as well capture all of 'em in one go.
>> > +1 w/ aforementioned mappend/mplus fix.
>>
>> +1
>>
>> John
>>
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>>
>> _______________________________________________
>> Libraries mailing list
>> Libraries at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150812/75b5af5d/attachment.html>


More information about the Libraries mailing list