I'm seeing a bunch of errors like this building with hackage:
Fixed in the github version, maybe time for a new release?
src/Data/Comp/Render.hs:32:22: error:
• Couldn't match type ‘Tree NodeInfo -> IO ()’ with ‘IO ()’
Expected type: Term f -> IO ()
Actual type: Term f -> 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 ‘writeHtmlTerm’:
writeHtmlTerm file
= writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree
src/Data/Comp/Render.hs:32:36: 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
I'm seeing a bunch of errors like this building with hackage:
Fixed in the github version, maybe time for a new release?
src/Data/Comp/Render.hs:32:22: error: • Couldn't match type ‘Tree NodeInfo -> IO ()’ with ‘IO ()’ Expected type: Term f -> IO () Actual type: Term f -> 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 ‘writeHtmlTerm’: writeHtmlTerm file = writeHtmlTree file . fmap (\ n -> NodeInfo n "") . stringTree
src/Data/Comp/Render.hs:32:36: 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