hpack-convert
hpack-convert copied to clipboard
hpack-convert with LTS 16.0 type issue
I use lts 16.0 everywhere and this installs hpack-convert-1.0.1 unfortunately it does not compile but produces the error:
• Couldn't match type ‘[[FilePath]]’ with ‘([[FilePath]], b0)’
hpack-convert > Expected type: IO ([[FilePath]], b0)
hpack-convert > Actual type: IO [[FilePath]]
hpack-convert > • In the second argument of ‘(<$>)’, namely
hpack-convert > ‘globDir compiledPatterns dir’
hpack-convert > In the first argument of ‘(>>=)’, namely
hpack-convert > ‘(fst <$> globDir compiledPatterns dir)’
hpack-convert > In a stmt of a 'do' block:
hpack-convert > files <- (fst <$> globDir compiledPatterns dir)
hpack-convert > >>= mapM removeDirectories
hpack-convert > |
hpack-convert > 106 | files <- (fst <$> globDir compiledPatterns dir) >>= mapM removeDirectories
which i hope is easy to fix. Tools should run in most circomstances and not require a download, fixing x or y...