The Hoogle engine was incorrect in a number of places.
The things this PR does:
1. In the result content: Currently it returns the list of names of links to
modules. I changed it to display the documentation of the entry the result
actually links to.
2. The metadata was incorrect:
- The link to API was linking to the Hackage API. It is a completely
different service. Hoogle does not have an API as far as I am aware.
- The engine uses HTML instead of JSON
- The link provided didn't link to Hoogle, but linked to the Haskell website.
- Hoogle returns all results on one page. There is no paging.
Cherry-picked from searx PR 3146 [1] commit [2] / slightly modified to fit
SearXNG needs.
[1] https://github.com/searx/searx/pull/3146
[2] 5b61eac840