Resolving dependencies... Configuring data-hash-0.2.0.1... Configuring mtl-2.2.1... Building data-hash-0.2.0.1... Building mtl-2.2.1... Installed data-hash-0.2.0.1 Configuring syb-0.6... Building syb-0.6... Configuring transformers-compat-0.5.1.4... Installed mtl-2.2.1 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring tree-view-0.5... Installed syb-0.6 Building tree-view-0.5... Installed tree-view-0.5 Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring constraints-0.8... Building constraints-0.8... Installed constraints-0.8 Configuring syntactic-3.6... Building syntactic-3.6... Failed to install syntactic-3.6 Build log ( /home/builder/.cabal/logs/syntactic-3.6.log ): cabal: Entering directory '/tmp/cabal-tmp-32342/syntactic-3.6' Configuring syntactic-3.6... Building syntactic-3.6... Preprocessing library syntactic-3.6... [ 1 of 20] Compiling Language.Syntactic.Syntax ( src/Language/Syntactic/Syntax.hs, dist/build/Language/Syntactic/Syntax.o ) [ 2 of 20] Compiling Language.Syntactic.Traversal ( src/Language/Syntactic/Traversal.hs, dist/build/Language/Syntactic/Traversal.o ) [ 3 of 20] Compiling Language.Syntactic.Sugar ( src/Language/Syntactic/Sugar.hs, dist/build/Language/Syntactic/Sugar.o ) [ 4 of 20] Compiling Language.Syntactic.Interpretation ( src/Language/Syntactic/Interpretation.hs, dist/build/Language/Syntactic/Interpretation.o ) src/Language/Syntactic/Interpretation.hs:194:21: error: • Couldn't match type ‘Tree NodeInfo -> IO ()’ with ‘IO ()’ Expected type: ASTF sym a -> IO () Actual type: ASTF sym a -> Tree NodeInfo -> IO () • Probable cause: ‘(.)’ is applied to too few arguments In the expression: writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree In an equation for ‘writeHtmlAST’: writeHtmlAST file = writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree src/Language/Syntactic/Interpretation.hs:194:35: error: • Couldn't match type ‘[Char]’ with ‘Maybe FilePath’ Expected type: Maybe FilePath Actual type: FilePath • In the first argument of ‘writeHtmlTree’, namely ‘file’ In the first argument of ‘(.)’, namely ‘writeHtmlTree file’ In the expression: writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree src/Language/Syntactic/Interpretation.hs:194:42: error: • Couldn't match type ‘Tree’ with ‘[]’ Expected type: ASTF sym a -> FilePath Actual type: ASTF sym a -> Tree (String -> NodeInfo) • In the second argument of ‘(.)’, namely ‘fmap (\ n -> NodeInfo n "") . stringTree’ In the expression: writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree In an equation for ‘writeHtmlAST’: writeHtmlAST file = writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree src/Language/Syntactic/Interpretation.hs:194:71: error: • Couldn't match type ‘[Char]’ with ‘Behavior’ Expected type: ASTF sym a -> Tree Behavior Actual type: ASTF sym a -> Tree String • In the second argument of ‘(.)’, namely ‘stringTree’ In the second argument of ‘(.)’, namely ‘fmap (\ n -> NodeInfo n "") . stringTree’ In the expression: writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree cabal: Leaving directory '/tmp/cabal-tmp-32342/syntactic-3.6' cabal: Error: some packages failed to install: syntactic-3.6 failed during the building phase. The exception was: ExitFailure 1