[Haskell-cafe] Error when trying to use Hashable

John Ky john at gocatch.com
Mon May 12 00:58:45 UTC 2014


Hi Haskell Cafe,

I have some code that compiles when running on GHC on OS X, but not on
Ubuntu:

    No instance for (hashable-1.2.1.0:Data.Hashable.Class.GHashable
                       (GHC.Generics.Rep Point))
      arising from a use of
`hashable-1.2.1.0:Data.Hashable.Class.$gdmhashWithSalt'
    Possible fix:
      add an instance declaration for
      (hashable-1.2.1.0:Data.Hashable.Class.GHashable
         (GHC.Generics.Rep Point))
    In the expression:
      (hashable-1.2.1.0:Data.Hashable.Class.$gdmhashWithSalt)
    In an equation for `hashWithSalt':
        hashWithSalt
          = (hashable-1.2.1.0:Data.Hashable.Class.$gdmhashWithSalt)
    In the instance declaration for `Hashable Point'

Anyone know what's happening here?

Cheers,

-John

-- 
 <http://www.gocatch.com/>
  Sydney, Australia

  <https://www.facebook.com/goCatch>  <https://twitter.com/gocatchapp> <http://www.linkedin.com/company/goCatch>
   <https://itunes.apple.com/au/app/gocatch/id444439909?mt=8> <https://play.google.com/store/apps/details?id=com.gocatchapp.goCatch&hl=en>
 <http://www.windowsphone.com/en-au/store/app/gocatch/d76b0eb5-bad6-429f-b99e-0ce85d953f93>
  <http://appworld.blackberry.com/webstore/content/31917887/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140512/854c8738/attachment.html>


More information about the Haskell-Cafe mailing list