Build #2 for word24-1.0.1

[all reports]

Package word24-1.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-06-10 09:39:17.66775 UTC
Compiler ghc-7.8.3
OS linux
Arch x86_64
Dependencies base-4.7.0.1
Flags -buildtests

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading word24-1.0.1...
Configuring word24-1.0.1...
Building word24-1.0.1...
Preprocessing library word24-1.0.1...
[1 of 2] Compiling Data.Word.Word24 ( src/Data/Word/Word24.hs, dist/build/Data/Word/Word24.o )

src/Data/Word/Word24.hs:117:7:
    Couldn't match expected type ‘Bool’ with actual type ‘Int#’
    In the expression: i# >=# 0#
    In a stmt of a pattern guard for
                   an equation for ‘shift’:
      i# >=# 0#
    In an equation for ‘shift’:
        (W24# x#) `shift` (I# i#)
          | i# >=# 0# = W24# (narrow24Word# (x# `shiftL#` i#))
          | otherwise = W24# (x# `shiftRL#` negateInt# i#)

src/Data/Word/Word24.hs:120:7:
    Couldn't match expected type ‘Bool’ with actual type ‘Int#’
    In the expression: i'# ==# 0#
    In a stmt of a pattern guard for
                   an equation for ‘rotate’:
      i'# ==# 0#
    In an equation for ‘rotate’:
        (W24# x#) `rotate` i
          | i'# ==# 0# = W24# x#
          | otherwise
          = W24#
              (narrow24Word#
                 ((x# `uncheckedShiftL#` i'#)
                  `or#` (x# `uncheckedShiftRL#` (24# -# i'#))))
          where
              !(I# i'#) = i `mod` 24
Failed to install word24-1.0.1
cabal: Error: some packages failed to install:
word24-1.0.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.