*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/libGenI-0.16 --verbose Configuring libGenI-0.16... Dependency HUnit -any: using HUnit-1.2.2.1 Dependency QuickCheck -any: using QuickCheck-2.1.0.3 Dependency base -any: using base-4.2.0.1 Dependency binary -any: using binary-0.5.0.2 Dependency containers -any: using containers-0.3.0.0 Dependency haskell98 -any: using haskell98-1.0.1.1 Dependency mtl -any: using mtl-1.1.0.2 Dependency parsec -any: using parsec-3.1.0 Dependency process -any: using process-1.0.1.2 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/libGenI-0.16/ghc-6.12.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/libGenI-0.16 Documentation installed in: /usr/local/tmp/archive/install/share/doc/libGenI-0.16 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.4 found on system at: /usr/bin/gcc Using ghc version 6.12.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.6.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.16 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library libGenI-0.16... Building libGenI-0.16... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name libGenI-0.16 -hide-all-packages -fbuilding-cabal-package -i -idist/build -ilibgeni -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id HUnit-1.2.2.1-e0ae454ae6a63df781b9c31184c1a583 -package-id QuickCheck-2.1.0.3-b8502a1e39a08a6c47b8d8a6c5770890 -package-id base-4.2.0.1-5a7a1410226b3bfdf686e4acbeea31e6 -package-id binary-0.5.0.2-bd1c9e6362e2e590e7d6cb2f1e39f98c -package-id containers-0.3.0.0-9249acfef8057539050eb2e7cf79c57f -package-id haskell98-1.0.1.1-672bbe87e44bc3d3a6893d91fa352541 -package-id mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177 -package-id parsec-3.1.0-a25d21186ef42698c80cee1912e05b4a -package-id process-1.0.1.2-774afe56ae6493d2c585aa51cb98c803 -O -Wall -O2 -XCPP -XRank2Types -XOverlappingInstances -XMultiParamTypeClasses -XFlexibleContexts -XTypeSynonymInstances -XFlexibleInstances -XDeriveDataTypeable -XExistentialQuantification -XLiberalTypeSynonyms NLP.GenI.Btypes NLP.GenI.BtypesBinary NLP.GenI.General NLP.GenI.GeniParsers NLP.GenI.GeniShow NLP.GenI.Tags NLP.GenI.Morphology NLP.GenI.Polarity NLP.GenI.Automaton NLP.GenI.Statistics NLP.GenI.Builder NLP.GenI.Simple.SimpleBuilder NLP.GenI.CkyEarley.CkyBuilder NLP.GenI.Geni NLP.GenI.Configuration libgeni/NLP/GenI/Btypes.lhs:72:7: Could not find module `Data.Generics': It is a member of the hidden package `syb-0.1.0.2'. Perhaps you need to add `syb' to the build-depends in your .cabal file. It is a member of the hidden package `base-3.0.3.2'. Perhaps you need to add `base' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/libGenI-0.16 --constraint=base<4 --constraint=parsec<3 --constraint=QuickCheck<2 --verbose Configuring libGenI-0.16... Dependency HUnit -any: using HUnit-1.2.2.1 Dependency QuickCheck <2: using QuickCheck-1.2.0.0 Dependency base <4: using base-3.0.3.2 Dependency binary -any: using binary-0.5.0.2 Dependency containers -any: using containers-0.3.0.0 Dependency haskell98 -any: using haskell98-1.0.1.1 Dependency mtl -any: using mtl-1.1.0.2 Dependency parsec <3: using parsec-2.1.0.1 Dependency process -any: using process-1.0.1.2 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/libGenI-0.16/ghc-6.12.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/libGenI-0.16 Documentation installed in: /usr/local/tmp/archive/install/share/doc/libGenI-0.16 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.4 found on system at: /usr/bin/gcc Using ghc version 6.12.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.6.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.16 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup haddock setup/setup haddock --verbose --html-location=/packages/archive/$pkg/$version/doc/html --hyperlink-source Running Haddock for libGenI-0.16... /usr/local/bin/haddock --use-contents=/package/libGenI-0.16 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library libGenI-0.16... Running hscolour for libGenI-0.16... Creating dist/doc/html/libGenI (and its parents) Creating dist/doc/html/libGenI/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/libGenI/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Btypes.html libgeni/NLP/GenI/Btypes.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-BtypesBinary.html libgeni/NLP/GenI/BtypesBinary.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-General.html libgeni/NLP/GenI/General.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-GeniParsers.html libgeni/NLP/GenI/GeniParsers.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-GeniShow.html libgeni/NLP/GenI/GeniShow.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Tags.html libgeni/NLP/GenI/Tags.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Morphology.html libgeni/NLP/GenI/Morphology.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Polarity.html libgeni/NLP/GenI/Polarity.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Automaton.html libgeni/NLP/GenI/Automaton.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Statistics.html libgeni/NLP/GenI/Statistics.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Builder.html libgeni/NLP/GenI/Builder.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Simple-SimpleBuilder.html libgeni/NLP/GenI/Simple/SimpleBuilder.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-CkyEarley-CkyBuilder.html libgeni/NLP/GenI/CkyEarley/CkyBuilder.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Geni.html libgeni/NLP/GenI/Geni.lhs /usr/local/bin/HsColour -css -anchor -odist/doc/html/libGenI/src/NLP-GenI-Configuration.html libgeni/NLP/GenI/Configuration.lhs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Btypes.lhs libgeni/NLP/GenI/Btypes.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/BtypesBinary.hs libgeni/NLP/GenI/BtypesBinary.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/General.lhs libgeni/NLP/GenI/General.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/GeniParsers.lhs libgeni/NLP/GenI/GeniParsers.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/GeniShow.lhs libgeni/NLP/GenI/GeniShow.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Tags.lhs libgeni/NLP/GenI/Tags.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Morphology.lhs libgeni/NLP/GenI/Morphology.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Polarity.lhs libgeni/NLP/GenI/Polarity.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 libgeni/NLP/GenI/Polarity.lhs:573:0: warning: backslash and newline separated by space libgeni/NLP/GenI/Polarity.lhs:588:0: warning: backslash and newline separated by space libgeni/NLP/GenI/Polarity.lhs:593:0: warning: backslash and newline separated by space /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Automaton.lhs libgeni/NLP/GenI/Automaton.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Statistics.hs libgeni/NLP/GenI/Statistics.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Builder.lhs libgeni/NLP/GenI/Builder.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Simple/SimpleBuilder.lhs libgeni/NLP/GenI/Simple/SimpleBuilder.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/CkyEarley/CkyBuilder.lhs libgeni/NLP/GenI/CkyEarley/CkyBuilder.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Geni.lhs libgeni/NLP/GenI/Geni.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp16467/libgeni/NLP/GenI/Configuration.lhs libgeni/NLP/GenI/Configuration.lhs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 Creating dist/doc/html/libGenI/ (and its parents) /usr/local/bin/haddock --use-contents=/package/libGenI-0.16 --prologue=dist/doc/html/libGenI/haddock-prolog16467.txt --dump-interface=dist/doc/html/libGenI/libGenI.haddock --optghc=-package-name --optghc=libGenI-0.16 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/HUnit/1.2.2.1/doc/html,/usr/local/tmp/archive/install/share/doc/HUnit-1.2.2.1/html/HUnit.haddock --read-interface=/packages/archive/QuickCheck/1.2.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/QuickCheck-1.2.0.0/html/QuickCheck.haddock --read-interface=/packages/archive/array/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.haddock --read-interface=/packages/archive/base/4.2.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.1/base.haddock --read-interface=/packages/archive/binary/0.5.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/binary-0.5.0.2/html/binary.haddock --read-interface=/packages/archive/bytestring/0.9.1.6/doc/html,/usr/local/share/doc/ghc/html/libraries/bytestring-0.9.1.6/bytestring.haddock --read-interface=/packages/archive/containers/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/packages/archive/directory/1.0.1.1/doc/html,/usr/local/share/doc/ghc/html/libraries/directory-1.0.1.1/directory.haddock --read-interface=/packages/archive/filepath/1.1.0.4/doc/html,/usr/local/share/doc/ghc/html/libraries/filepath-1.1.0.4/filepath.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/haskell98/1.0.1.1/doc/html,/usr/local/tmp/archive/install/share/doc/haskell98-1.0.1.1/html/haskell98.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=/packages/archive/old-locale/1.0.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/old-locale-1.0.0.2/old-locale.haddock --read-interface=/packages/archive/old-time/1.0.0.4/doc/html,/usr/local/share/doc/ghc/html/libraries/old-time-1.0.0.4/old-time.haddock --read-interface=/packages/archive/parsec/2.1.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/parsec-2.1.0.1/html/parsec.haddock --read-interface=/packages/archive/process/1.0.1.2/doc/html,/usr/local/share/doc/ghc/html/libraries/process-1.0.1.2/process.haddock --read-interface=/packages/archive/random/1.0.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/random-1.0.0.2/html/random.haddock --read-interface=/packages/archive/syb/0.1.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --read-interface=/packages/archive/time/1.2.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/time-1.2.0.2/html/time.haddock --read-interface=/packages/archive/unix/2.4.0.1/doc/html,/usr/local/share/doc/ghc/html/libraries/unix-2.4.0.1/unix.haddock --odir=dist/doc/html/libGenI/ --title=libGenI-0.16 --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-ilibgeni --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=HUnit-1.2.2.1-e0ae454ae6a63df781b9c31184c1a583 --optghc=-package-id --optghc=QuickCheck-1.2.0.0-11442a02adc334d40f546f318066a625 --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-package-id --optghc=binary-0.5.0.2-bd1c9e6362e2e590e7d6cb2f1e39f98c --optghc=-package-id --optghc=containers-0.3.0.0-9249acfef8057539050eb2e7cf79c57f --optghc=-package-id --optghc=haskell98-1.0.1.1-672bbe87e44bc3d3a6893d91fa352541 --optghc=-package-id --optghc=mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177 --optghc=-package-id --optghc=parsec-2.1.0.1-ea096577115d95b0cfde0225e2011564 --optghc=-package-id --optghc=process-1.0.1.2-774afe56ae6493d2c585aa51cb98c803 --optghc=-O --optghc=-Wall --optghc=-O2 --optghc=-XCPP --optghc=-XRank2Types --optghc=-XOverlappingInstances --optghc=-XMultiParamTypeClasses --optghc=-XFlexibleContexts --optghc=-XTypeSynonymInstances --optghc=-XFlexibleInstances --optghc=-XDeriveDataTypeable --optghc=-XExistentialQuantification --optghc=-XLiberalTypeSynonyms -B/usr/local/lib/ghc-6.12.2 dist/build/tmp16467/libgeni/NLP/GenI/Btypes.hs dist/build/tmp16467/libgeni/NLP/GenI/BtypesBinary.hs dist/build/tmp16467/libgeni/NLP/GenI/General.hs dist/build/tmp16467/libgeni/NLP/GenI/GeniParsers.hs dist/build/tmp16467/libgeni/NLP/GenI/GeniShow.hs dist/build/tmp16467/libgeni/NLP/GenI/Tags.hs dist/build/tmp16467/libgeni/NLP/GenI/Morphology.hs dist/build/tmp16467/libgeni/NLP/GenI/Polarity.hs dist/build/tmp16467/libgeni/NLP/GenI/Automaton.hs dist/build/tmp16467/libgeni/NLP/GenI/Statistics.hs dist/build/tmp16467/libgeni/NLP/GenI/Builder.hs dist/build/tmp16467/libgeni/NLP/GenI/Simple/SimpleBuilder.hs dist/build/tmp16467/libgeni/NLP/GenI/CkyEarley/CkyBuilder.hs dist/build/tmp16467/libgeni/NLP/GenI/Geni.hs dist/build/tmp16467/libgeni/NLP/GenI/Configuration.hs libgeni/NLP/GenI/CkyEarley/CkyBuilder.lhs:559:4: Couldn't match expected type `Maybe ([String], [String], GNode)' against inferred type `[([String], [String], GNode)]' In a stmt of a 'do' expression: (leftS, rightS, p) <- Map.lookup (gnname node) (ciRouting item) In the expression: do { (leftS, rightS, p) <- Map.lookup (gnname node) (ciRouting item); let mergePoints kids = ... combine par kids = ...; let leftMatches = map matches leftS rightMatches = map matches rightS ....; combinations allMatches >>= combine p } In the definition of `parentRule': parentRule item chart | ciComplete item = do { (leftS, rightS, p) <- Map.lookup (gnname node) (ciRouting item); let mergePoints kids = ... ....; let leftMatches = ... ....; .... } where node = ciNode item sourceOf = tidnum . ciSourceTree relevant c = (sourceOf c == sourceOf item) && ciComplete c && (ciSemantics c) .&. (ciSemantics item) == (ciInitialSem item) relChart = filter relevant chart ....