klaftertief / elm-search

elm-search - an API search engine for all published Elm packages
http://klaftertief.github.io/elm-search/
99 stars 11 forks source link

Allow searching for types #16

Open Crote opened 7 years ago

Crote commented 7 years ago

Example: Let's say I search for repeat. One of the results might be repeat : Int -> a -> Array a. A common next step would be looking up what that Array type is, and how to construct one. However, searching on Array or Array a does not give any results.

I'd expect an entry for the type, mirroring its entry on elm packages like

type Array a

Representation of fast immutable arrays. You can create arrays of integers (Array Int) or strings (Array String) or any other type of value you can dream up.
klaftertief commented 7 years ago

Thanks for the input. It's on my internal todo list. Will implement it in the next batch of work for the search...