在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ndmitchell/hoogle开源软件地址(OpenSource Url):https://github.com/ndmitchell/hoogle开源编程语言(OpenSource Language):Haskell 69.4%开源软件介绍(OpenSource Introduction):HoogleHoogle is a Haskell API search engine, which allows you to search many standard Haskell libraries by either function name, or by approximate type signature. The online version can be found at https://hoogle.haskell.org/ and searches Stackage.
Hoogle UseHoogle can be used in several ways:
SearchesSearchingHere are some example searches:
ScopeBy default, searches look at the Haskell Platform and Haskell keywords. However, all Stackage packages are available to search. As some examples:
With the set of packages you are searching, you can also restrict the set of modules searched:
IntegrationCommand Line VersionTo invoke Hoogle type:
Note the quotes, otherwise you will redirect the output to the file [b]. To ensure you have data files for the Hackage modules, you will first need to type:
Which will download and build Hoogle databases. Command Line UIThere is a terminal/curses based UI available through Chrome IntegrationAs a keyword search: With a keyword search you can type Firefox IntegrationFrom the search bar: Go to the Hoogle website in Firefox and click on the As a keyword search: With a keyword search you can type OthersThe Source Code
Contributions are most welcome. Hoogle is written in Haskell 98 + Heirarchical Modules, I do not wish to change this. Other than that, I'm pretty flexible about most aspects of Hoogle. The issue tracker has many outstanding tasks, but please contact me if you have thoughts on doing something major to Hoogle, so I can give some advice. BackgroundHoogle work is licensed under the BSD-3-Clause license. Theoretical FoundationsA lot of related work was done by Rittri [1] and Runciman [2] in the late 80's. Since then Di Cosmo [3] has produced a book on type isomorphisms. Unfortunately the implementations that accompanied the earlier works were for functional languages that have since become less popular.
I have given several presentations on type searching all available from my home page. Project StructureThe folders in the repository, and their meaning are: cbits - C implementation of the text search used by hoogle docs - documention on hoogle html - resources for hoogle's web front-end (html, css, javascript, images, etc.) misc - scripts, logos, sample data, etc. src - haskell source code Similar ToolsI was unaware of any similar tools before starting development, and no other tool has really influenced this tool (except the first on this list). Some related tools are:
AcknowledgementsAll code is all © Neil Mitchell, 2004-present. The initial version was done over my summer holiday, and further work was done during my PhD. During Summer 2008 I was funded to full-time on Hoogle by Google Summer of Code with the haskell.org mentoring organisation. Since then I have been working on Hoogle in my spare time. Various people have given lots of useful ideas, including my PhD supervisor Colin Runciman, and various members of the Plasma group. In addition, the following people have also contributed code or significant debugging work:
In previous versions, all the data was taken from Zvon's Haskell Guide. Thanks to their open and friendly policy of allowing the data to be reused, this project became possible. More recent versions use the Hierarchical Libraries as distributed with GHC, and databases generated by Haddock. Interesting links |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论