ivan-m / haskell-docs

Get the Haskell documentation of a name from a module
BSD 3-Clause "New" or "Revised" License
32 stars 8 forks source link

fails to find definition of Bool #18

Open joeyh opened 9 years ago

joeyh commented 9 years ago

haskell-docs Bool does not find any results here.

Interestingly, haskell-docs Int does find that, and it's defined in the same module.

I guess the difference is that Int has some haddock documentation, while Bool does not.

I think it would be useful for haskell-docs to at least display the module where a function or type is defined, even if there's no documentation. It would also be nice if it could display the constructors of a type like Bool.