Build #1 for binary-list-0.3.4.0

[all reports]

Package binary-list-0.3.4.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-05-24 07:57:29.036717 UTC
Compiler ghc-7.8.3
OS linux
Arch x86_64
Dependencies transformers-0.3.0.0, phantom-state-0.2.0.2, bytestring-0.10.4.0, binary-0.7.1.0, base-4.7.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring phantom-state-0.2.0.2...
Building phantom-state-0.2.0.2...
Preprocessing library phantom-state-0.2.0.2...
[1 of 1] Compiling Control.Applicative.PhantomState ( Control/Applicative/PhantomState.hs, dist/build/Control/Applicative/PhantomState.o )
In-place registering phantom-state-0.2.0.2...
Running Haddock for phantom-state-0.2.0.2...
Running hscolour for phantom-state-0.2.0.2...
Preprocessing library phantom-state-0.2.0.2...
Preprocessing library phantom-state-0.2.0.2...
Haddock coverage:
 100% (  8 /  8) in 'Control.Applicative.PhantomState'
Documentation created: dist/doc/html/phantom-state/index.html,
dist/doc/html/phantom-state/phantom-state.txt
Creating package registration file: /tmp/pkgConf-phantom-state-0.2.022898.2
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/phantom-state-0.2.0.2
Registering phantom-state-0.2.0.2...
Installed phantom-state-0.2.0.2
Downloading binary-list-0.3.4.0...
Configuring binary-list-0.3.4.0...
Building binary-list-0.3.4.0...
Preprocessing library binary-list-0.3.4.0...
[1 of 3] Compiling Data.BinaryList.Internal ( Data/BinaryList/Internal.hs, dist/build/Data/BinaryList/Internal.o )
[2 of 3] Compiling Data.BinaryList  ( Data/BinaryList.hs, dist/build/Data/BinaryList.o )

Data/BinaryList.hs:131:16:
    Couldn't match type ‘BinList a -> BinList a’ with ‘BinList a’
    Expected type: BinList a -> BinList a
      Actual type: BinList a -> BinList a -> BinList a
    Relevant bindings include
      y :: a (bound at Data/BinaryList.hs:131:12)
      replace :: Int -> a -> BinList a -> BinList a
        (bound at Data/BinaryList.hs:131:1)
    Probable cause: ‘go’ is applied to too few arguments
    In the expression: go i0
    In an equation for ‘replace’:
        replace i0 y
          = go i0
          where
              go i (ListNode n l r)
                = let ...
                  in if i < m then ListNode (go i l) r else ListNode l (go (i - m) r)
              go 0 (ListEnd x) = ListEnd y
              go _ e = e

Data/BinaryList.hs:136:29:
    Couldn't match expected type ‘Int’
                with actual type ‘BinList a2 -> BinList a2’
    Relevant bindings include
      r :: BinList a2 (bound at Data/BinaryList.hs:133:24)
      l :: BinList a2 (bound at Data/BinaryList.hs:133:22)
      go :: a1 -> BinList a2 -> BinList a2 -> BinList a2
        (bound at Data/BinaryList.hs:133:5)
    Probable cause: ‘go’ is applied to too few arguments
    In the first argument of ‘ListNode’, namely ‘(go i l)’
    In the expression: ListNode (go i l) r

Data/BinaryList.hs:137:34:
    Couldn't match expected type ‘Int’ with actual type ‘BinList a2’
    Relevant bindings include
      r :: BinList a2 (bound at Data/BinaryList.hs:133:24)
      l :: BinList a2 (bound at Data/BinaryList.hs:133:22)
      go :: a1 -> BinList a2 -> BinList a2 -> BinList a2
        (bound at Data/BinaryList.hs:133:5)
    In the first argument of ‘ListNode’, namely ‘l’
    In the expression: ListNode l (go (i - m) r)

Data/BinaryList.hs:137:37:
    Couldn't match expected type ‘BinList a2’
                with actual type ‘BinList a2 -> BinList a2’
    Relevant bindings include
      r :: BinList a2 (bound at Data/BinaryList.hs:133:24)
      l :: BinList a2 (bound at Data/BinaryList.hs:133:22)
      go :: a1 -> BinList a2 -> BinList a2 -> BinList a2
        (bound at Data/BinaryList.hs:133:5)
    Probable cause: ‘go’ is applied to too few arguments
    In the second argument of ‘ListNode’, namely ‘(go (i - m) r)’
    In the expression: ListNode l (go (i - m) r)

Data/BinaryList.hs:138:24:
    Couldn't match expected type ‘BinList a2 -> BinList a2’
                with actual type ‘BinList a’
    Relevant bindings include
      x :: a2 (bound at Data/BinaryList.hs:138:19)
      go :: a1 -> BinList a2 -> BinList a2 -> BinList a2
        (bound at Data/BinaryList.hs:133:5)
      y :: a (bound at Data/BinaryList.hs:131:12)
      replace :: Int -> a -> BinList a -> BinList a
        (bound at Data/BinaryList.hs:131:1)
    Possible cause: ‘ListEnd’ is applied to too many arguments
    In the expression: ListEnd y
    In an equation for ‘go’: go 0 (ListEnd x) = ListEnd y

Data/BinaryList.hs:139:14:
    Couldn't match expected type ‘BinList a2 -> BinList a2’
                with actual type ‘BinList a2’
    Relevant bindings include
      e :: BinList a2 (bound at Data/BinaryList.hs:139:10)
      go :: a1 -> BinList a2 -> BinList a2 -> BinList a2
        (bound at Data/BinaryList.hs:133:5)
    In the expression: e
    In an equation for ‘go’: go _ e = e
Failed to install binary-list-0.3.4.0
cabal: Error: some packages failed to install:
binary-list-0.3.4.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.