[Haskell-cafe] Please ignore :) {-# LANGUAGE DeriveApplicative #-}
Pavel Perikov
perikov at gmail.com
Thu May 6 04:11:22 EDT 2010
Please ignore the previous message :) Screwed :)
P.
Begin forwarded message:
> From: Pavel Perikov <perikov at gmail.com>
> Date: 6 мая 2010 г. 11:55:36 Московское летнее время
> To: haskell-cafe list Cafe mailing <haskell-cafe at haskell.org>
> Cc: Беркгаут Борис <boris.berkgaut at transas.com>
> Subject: {-# LANGUAGE DeriveApplicative #-} ?
>
> Hi, list!.
>
> Now in 6.12.1 we have DeriveFunctor, DeriveFoldable and DeriveTraversable. This greatly simplifies the "reuse structure" style of programming. Some structure (not just _data_ structure) got captured in ADT and can be reused for various purposes.
>
> Wouldn't it be nice to have the ability to derive Applicative as well? It shouldn't be more difficult than deriving Functor but will provide exciting possibilities. Just think about liftA2.
>
> Please note that deriving Monad is quite different story and seem generally unfeasible.
>
> Suggestions welcome.
>
> P.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100506/ec02174d/attachment.html
More information about the Haskell-Cafe
mailing list