hpack-convert icon indicating copy to clipboard operation
hpack-convert copied to clipboard

hpack-convert with LTS 16.0 type issue

Open andrewufrank opened this issue 4 years ago • 0 comments

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...

andrewufrank avatar Jun 27 '20 12:06 andrewufrank