happstack-helpers fails to install on Mac OSX

I've just installed the Haskell Platform (2009.2.0.2) on Mac OSX 10.5.6, including GHC 6.10.4. Then I started added some packahges with cabal install. But happstack-helpers-0.30 fails with: Happstack/Helpers/DirBrowse.hs:88:105 Couldn't match expected type `String' against inferred type `Bool' In the third argument of `hscolour', namely `False' In the second argument of `(.)', namely `BrowseHtmlString . (hscolour defaultColourPrefs False False f)' Is this a known error, and if so, is there a workaround? -- Colin Adams Preston Lancashire

"Colin" == Colin Paul Adams
writes:
Colin> I've just installed the Haskell Platform (2009.2.0.2) on Colin> Mac OSX 10.5.6, including GHC 6.10.4. Colin> Then I started added some packahges with cabal install. Colin> But happstack-helpers-0.30 fails with: Colin> Happstack/Helpers/DirBrowse.hs:88:105 Couldn't match Colin> expected type `String' against inferred type `Bool' In the Colin> third argument of `hscolour', namely `False' In the second Colin> argument of `(.)', namely `BrowseHtmlString . (hscolour Colin> defaultColourPrefs False False f)' Colin> Is this a known error, and if so, is there a workaround? I guess it's the same problem that was reported earlier this week with hlint and hscolour 1.15. I'll try installing an earlier version of hscolour. -- Colin Adams Preston Lancashire

"Colin" == Colin Paul Adams
writes:
"Colin" == Colin Paul Adams
writes: Colin> I've just installed the Haskell Platform (2009.2.0.2) on Colin> Mac OSX 10.5.6, including GHC 6.10.4.
Colin> Then I started added some packahges with cabal install. Colin> But happstack-helpers-0.30 fails with: Colin> Happstack/Helpers/DirBrowse.hs:88:105 Couldn't match Colin> expected type `String' against inferred type `Bool' In the Colin> third argument of `hscolour', namely `False' In the second Colin> argument of `(.)', namely `BrowseHtmlString . (hscolour Colin> defaultColourPrefs False False f)' Colin> Is this a known error, and if so, is there a workaround? Colin> I guess it's the same problem that was reported earlier Colin> this week with hlint and hscolour 1.15. I'll try Colin> installing an earlier version of hscolour. Yes. Installing hscolour 1.14 instead did the trick. Can we have a new version of happstack-helpers that supports hscolour 1.15 please? -- Colin Adams Preston Lancashire
participants (1)
-
Colin Paul Adams