[Revamp the front page of Hoogle Neil Mitchell **20060621103610] { hunk ./src/Web/res/front.inc 10 - function on_load() - { - document.getElementById('txt').focus(); - } +function addHoogle() +{ + addEngine('hoogle','png','Programming','4691'); +} + +function addEngine(name,ext,cat,pid) +{ + if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { + window.sidebar.addSearchEngine( + "http://mycroft.mozdev.org/install.php/" + pid + "/" + name + ".src", + "http://mycroft.mozdev.org/install.php/" + pid + "/" + name + "."+ ext, name, cat ); + } else { + alert("You will need a browser which supports Sherlock to install this plugin."); + } +} + +function on_load() +{ + document.getElementById('txt').focus(); +} hunk ./src/Web/res/front.inc 35 - +
hunk ./src/Web/res/front.inc 37 - hunk ./src/Web/res/front.inc 53 -
+ Hoogle + 3 + [β] +
+ The Haskell API Search Engine
+
+
+ + +
+ + +
+ Example searches:
+   map
+   (a -> b) -> [a] -> [b]
+   Ord a => [a] -> [a] +
+
+ +

+ "Roses are red. Violets are blue. Google rocks. Homage to you." +

+