Adrian May <adrian.alexander....@gmail.com> wrote: > > Changes already made in the base library or in one of the platform > > libraries: > > So could you pick the most unassailable and tell me more about it > please?
I'll just pick a random example: Eq and Show are no longer superclasses of Num. I'm the author of the Netwire library, a library for functional reactive programming. Before that change you would write the following code to express a clock that runs twice as fast as the real time clock and oscillates up and down while gradually increasing: liftA2 (\t o -> 2*t + sin o) time (integral_ 0 . v) Thanks to the change you can now write it as: 2*time + sin (integral_ 0 . v) Greets, Ertugrul -- Key-ID: E5DD8D11 "Ertugrul Soeylemez <e...@ertes.de>" FPrint: BD28 3E3F BE63 BADD 4157 9134 D56A 37FA E5DD 8D11 Keysrv: hkp://subkeys.pgp.net/
signature.asc
Description: PGP signature
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe