Haddock 2.x and --hoogle

Neil Mitchell ndmitchell at gmail.com
Fri Jun 13 13:57:40 EDT 2008


As a side note, about 2 lines after:

    let mockFlags
          | isVersion2 = []
          | otherwise  = ["-D__HADDOCK__"]

Could be written more compactly as:

   let mockFlags = ["-D__HADDOCK__" | not isVersion2]

I love list comprehensions :-)

Thanks

Neil



More information about the cabal-devel mailing list