Nicer Hackage URL
authorJoachim Breitner <mail@joachim-breitner.de>
Sat, 9 Oct 2010 09:27:35 +0000 (09:27 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Sat, 9 Oct 2010 09:27:35 +0000 (09:27 +0000)
Hackage.hs

index f7c8780..c56c5fa 100644 (file)
@@ -15,4 +15,4 @@ readFile file = do
        return $ fromListMax hackageVersions
           
 extract (p, v, i) = (fromHackage p, Version v url)
-  where url = "http://hackage.haskell.org/cgi-bin/hackage-scripts/package/" ++ p
+  where url = "http://hackage.haskell.org/package/" ++ p