*** setup configure Configuring libGenI-0.16.1... Flags chosen: splitbase=True Dependency HUnit -any: using HUnit-1.2.0.3 Dependency QuickCheck -any: using QuickCheck-2.1.0.1 Dependency base >=3: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.1 Dependency containers -any: using containers-0.2.0.1 Dependency mtl -any: using mtl-1.1.0.2 Dependency parsec -any: using parsec-3.0.0 Dependency process -any: using process-1.0.1.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/libGenI-0.16.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/libGenI-0.16.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.9 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 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 Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library libGenI-0.16.1... Building libGenI-0.16.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name libGenI-0.16.1 --make -hide-all-packages -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 HUnit-1.2.0.3 -package QuickCheck-2.1.0.1 -package base-4.1.0.0 -package binary-0.5.0.1 -package containers-0.2.0.1 -package mtl-1.1.0.2 -package parsec-3.0.0 -package process-1.0.1.1 -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 `base-3.0.3.1' it is a member of the hidden package `syb-0.1.0.0' it is a member of the hidden package `syb' Use -v to see a list of the files searched for. *** Trying again with preferred-versions *** setup configure Configuring libGenI-0.16.1... Flags chosen: splitbase=True Dependency HUnit -any: using HUnit-1.2.0.3 Dependency QuickCheck -any && <2: using QuickCheck-1.2.0.0 Dependency base ==3.*: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.1 Dependency containers -any: using containers-0.2.0.1 Dependency mtl -any: using mtl-1.1.0.2 Dependency parsec -any && <3: using parsec-2.1.0.1 Dependency process -any: using process-1.0.1.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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.1/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/libGenI-0.16.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/libGenI-0.16.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.9 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 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 Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library libGenI-0.16.1... Building libGenI-0.16.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name libGenI-0.16.1 --make -hide-all-packages -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 HUnit-1.2.0.3 -package QuickCheck-1.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package containers-0.2.0.1 -package mtl-1.1.0.2 -package parsec-2.1.0.1 -package process-1.0.1.1 -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 [ 1 of 15] Compiling NLP.GenI.Statistics ( libgeni/NLP/GenI/Statistics.hs, dist/build/NLP/GenI/Statistics.o ) [ 2 of 15] Compiling NLP.GenI.General ( libgeni/NLP/GenI/General.lhs, dist/build/NLP/GenI/General.o ) [ 3 of 15] Compiling NLP.GenI.Automaton ( libgeni/NLP/GenI/Automaton.lhs, dist/build/NLP/GenI/Automaton.o ) [ 4 of 15] Compiling NLP.GenI.Btypes ( libgeni/NLP/GenI/Btypes.lhs, dist/build/NLP/GenI/Btypes.o ) [ 5 of 15] Compiling NLP.GenI.BtypesBinary ( libgeni/NLP/GenI/BtypesBinary.hs, dist/build/NLP/GenI/BtypesBinary.o ) [ 6 of 15] Compiling NLP.GenI.Tags ( libgeni/NLP/GenI/Tags.lhs, dist/build/NLP/GenI/Tags.o ) [ 7 of 15] Compiling NLP.GenI.GeniShow ( libgeni/NLP/GenI/GeniShow.lhs, dist/build/NLP/GenI/GeniShow.o ) [ 8 of 15] Compiling NLP.GenI.GeniParsers ( libgeni/NLP/GenI/GeniParsers.lhs, dist/build/NLP/GenI/GeniParsers.o ) [ 9 of 15] Compiling NLP.GenI.Morphology ( libgeni/NLP/GenI/Morphology.lhs, dist/build/NLP/GenI/Morphology.o ) [10 of 15] Compiling NLP.GenI.Polarity ( libgeni/NLP/GenI/Polarity.lhs, dist/build/NLP/GenI/Polarity.o ) [11 of 15] Compiling NLP.GenI.Configuration ( libgeni/NLP/GenI/Configuration.lhs, dist/build/NLP/GenI/Configuration.o ) [12 of 15] Compiling NLP.GenI.Builder ( libgeni/NLP/GenI/Builder.lhs, dist/build/NLP/GenI/Builder.o ) [13 of 15] Compiling NLP.GenI.Simple.SimpleBuilder ( libgeni/NLP/GenI/Simple/SimpleBuilder.lhs, dist/build/NLP/GenI/Simple/SimpleBuilder.o ) [14 of 15] Compiling NLP.GenI.CkyEarley.CkyBuilder ( libgeni/NLP/GenI/CkyEarley/CkyBuilder.lhs, dist/build/NLP/GenI/CkyEarley/CkyBuilder.o ) 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 ....