[Haskell-cafe] ghc 7.2.1 Generics problem

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Nov 1 06:59:17 CET 2011


On 1 November 2011 16:07, Magicloud Magiclouds
<magicloud.magiclouds at gmail.com> wrote:
> Hi,
>  I do not know why, my ghc 7.2.1 does not seem to support
> DeriveRepresentable. I compiled the ghc 7.2.1 myself by ghc 7.0.4. All
> options default.
>
> $ ghc Types/TopTalkerRecord.hs
>
> Types/TopTalkerRecord.hs:2:14:
>    Unsupported extension: DeriveRepresentable
>
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.2.1

All I can find about DeriveRepresentable is a patch submitted in April
[1].  However, it seems [2] that it has been renamed to DeriveGenerics

[1]: http://www.haskell.org/pipermail/cvs-ghc/2011-April/061666.html
[2]: http://code.galois.com/cgi-bin/gitweb?p=type-naturals/base.git;a=commitdiff;h=792a8b86185d4cc74bb3d0d31b481ff0de4cf0d6


-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list