Resolving dependencies... Downloading data-extra-2.5.1... Configuring data-extra-2.5.1... Building data-extra-2.5.1... Preprocessing library data-extra-2.5.1... [ 1 of 11] Compiling Data.Eq.Extra ( src/Data/Eq/Extra.hs, dist/build/Data/Eq/Extra.o ) [ 2 of 11] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, dist/build/Data/Tuple/Extra.o ) [ 3 of 11] Compiling Data.Number.Extra ( src/Data/Number/Extra.hs, dist/build/Data/Number/Extra.o ) [ 4 of 11] Compiling Data.Time.Extra ( src/Data/Time/Extra.hs, dist/build/Data/Time/Extra.o ) [ 5 of 11] Compiling Data.Text.Extra ( src/Data/Text/Extra.hs, dist/build/Data/Text/Extra.o ) [ 6 of 11] Compiling Data.String.Extra ( src/Data/String/Extra.hs, dist/build/Data/String/Extra.o ) [ 7 of 11] Compiling Data.Bool.Extra ( src/Data/Bool/Extra.hs, dist/build/Data/Bool/Extra.o ) [ 8 of 11] Compiling Data.List.Extra ( src/Data/List/Extra.hs, dist/build/Data/List/Extra.o ) src/Data/List/Extra.hs:12:39: Couldn't match expected type `Bool' with actual type `[a0] -> Bool' In the third argument of `bool', namely `null' In the expression: bool cons (const nil) null In an equation for `list': list nil cons = bool cons (const nil) null Failed to install data-extra-2.5.1 cabal: Error: some packages failed to install: data-extra-2.5.1 failed during the building phase. The exception was: ExitFailure 1