Why some functions are not visible in Hoogle
? Example: ppTopElement
ppTopElement :: Element -> String
-- Defined in `Text.XML.Light.Output'
Is it a bug?
Restart your device and try your search again. If you're able to connect to the Internet, update the Google app to the latest version. To check if you get results, try your search again. When you clear an app's cache, you delete data stored in a temporary area of the device's memory.
If the Tools --> Script Editor and the Add-ons menu options are missing when you open the file, it probably isn't actually a Google Sheets file. Make sure to navigate to File --> Save As Google Sheets. Then the Script Editor option in the Tools menu and the Add-ons menu will be available. Save this answer.
Workaround: go to FPcomplete instead.
haskell.org's Hoogle (http://www.haskell.org/hoogle/) is quite selective about what it searches, whereas FP Complete's hoogle at https://www.fpcomplete.com/hoogle searches more fully:
https://www.fpcomplete.com/hoogle?q=ppTopElement&env=ghc-7.4.2-stable-13.09
Searched for: ppTopElement
ppTopElement :: Element -> String
xml
Text.XML.Light.Output
Pretty printing renders XML documents faithfully, with the exception that whitespace may be added/removed in non-verbatim character data.
Being a hoogle rather than a hayoo, you can search by type, partial type, partial name, misordered type etc. For instance, searching for Element -> String
gives lots of functions, some showing, some pretty printing, some just doing the top element.
BTW, Their online IDE is superb (click on the homepage https://www.fpcomplete.com/ and scroll down to Start a Project). It's slick, pretty, and you can add dependencies easily without tedious cabal install
problems. I've been tempted to even use it at home where I have ghc installed!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With