[Add a different front page if Gtk is the package
Neil Mitchell **20060716182620] {
hunk ./src/Web/Main.hs 45
- if null input then hoogleBlank
+ if null input then hoogleBlank args
hunk ./src/Web/Main.hs 66
-hoogleBlank :: IO ()
-hoogleBlank = do debugInit
- outputFile "front"
+hoogleBlank :: [(String,String)] -> IO ()
+hoogleBlank args = do
+ debugInit
+ outputFile (if ("package","gtk") `elem` args then "front_gtk" else "front")
addfile ./src/Web/res/front_gtk.inc
hunk ./src/Web/res/front_gtk.inc 1
+
+
+
+
+ Hoogle
+
+
+
+
+
+
+
+
+
+
+
+
+

+
3
+ [β]
+
+
+
The Haskell API Search Engine -
Gtk2Hs edition
+
+
+
+
+
+
+ "Roses are red. Violets are blue. Google rocks. Homage to you."
+
+
+
+
+
+
}