
Did you mean this link for the Users Guide? https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/deriving.htm... DeriveAny class lets you write
data Foo = ... deriving (Bar)
instead of:
data Foo = ... instance Bar Foo
(i.e. if it's possible to make it an instance without having to
provide explicit method implementations); as the Users Guide hints
it's primarily useful in cases where default definitions are provided
for you, typically using the DefaultSignatures definition with
GHC.Generics.
On 6 November 2015 at 20:01, Kostiantyn Rybnikov
Is there a topic for DeriveAnyClass extension in user guide? It is mentioned several times in different places, also I see link to it in from cabal haddocs [0] into its page inside "other type extensions" [1], but it leads nowhere.
Thank you.
[0]: https://www.haskell.org/cabal/release/cabal-latest/doc/API/Cabal/Language-Ha... [1]: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/other-type-e...
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com