Public paste
compilation error ixset.hs
By: Guest | Date: Oct 7 2015 16:47 | Format: None | Expires: never | Size: 602 B | Hits: 719

  1. [oftl@dukhat sl]$ ghc IxSet.hs
  2. [1 of 1] Compiling Main             ( IxSet.hs, IxSet.o )
  3.  
  4. IxSet.hs:34:46:
  5.     Couldn't match type ‘Integer’ with ‘PostId’
  6.     arising from the coercion of the method ‘safecopy-0.8.5:Data.SafeCopy.SafeCopy.kind’
  7.       from type ‘safecopy-0.8.5:Data.SafeCopy.SafeCopy.Kind Integer’
  8.         to type ‘safecopy-0.8.5:Data.SafeCopy.SafeCopy.Kind PostId’
  9.     Relevant role signatures:
  10.       type role safecopy-0.8.5:Data.SafeCopy.SafeCopy.Kind nominal
  11.     When deriving the instance for (SafeCopy PostId)
  12.