[Haskell-cafe] happstack-helpers fails to install on Mac OSX

Colin Paul Adams colin at colina.demon.co.uk
Mon Aug 31 03:10:01 EDT 2009

>>>>> "Colin" == Colin Paul Adams <colin at colina.demon.co.uk> writes:

>>>>> "Colin" == Colin Paul Adams <colin at colina.demon.co.uk> 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

More information about the Haskell-Cafe mailing list