Build #2 for syntactic-3.1

[all reports]

Package syntactic-3.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-11-29 22:12:23.886623 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, containers-0.5.7.1, data-hash-0.2.0.1, deepseq-1.4.2.0, mtl-2.2.1, template-haskell-2.11.0.0, tree-view-0.5
Flags th

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring mtl-2.2.1...
Configuring data-hash-0.2.0.1...
Building data-hash-0.2.0.1...
Building mtl-2.2.1...
Installed data-hash-0.2.0.1
Installed mtl-2.2.1
Configuring tree-view-0.5...
Building tree-view-0.5...
Installed tree-view-0.5
Configuring syntactic-3.1...
Building syntactic-3.1...
Failed to install syntactic-3.1
Build log ( /home/builder/.cabal/logs/syntactic-3.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-18703/syntactic-3.1'
Configuring syntactic-3.1...
Building syntactic-3.1...
Preprocessing library syntactic-3.1...
[ 1 of 17] Compiling Language.Syntactic.Syntax ( src/Language/Syntactic/Syntax.hs, dist/build/Language/Syntactic/Syntax.o )
[ 2 of 17] Compiling Language.Syntactic.Traversal ( src/Language/Syntactic/Traversal.hs, dist/build/Language/Syntactic/Traversal.o )
[ 3 of 17] Compiling Language.Syntactic.Sugar ( src/Language/Syntactic/Sugar.hs, dist/build/Language/Syntactic/Sugar.o )
[ 4 of 17] 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-18703/syntactic-3.1'
cabal: Error: some packages failed to install:
syntactic-3.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.