ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
753 stars 137 forks source link

s/fromList/headDef/g #149

Closed kuk0 closed 8 years ago

kuk0 commented 8 years ago

the fromList function is essentially the same thing as headDef function from the Safe module it's really confusing to have 2 fromList definitions in this codebase, one of them being non-standard (not e.g. Map.fromList or Set.fromList...)

ndmitchell commented 8 years ago

Can't argue with that. Although I would encourage you to look at the master branch. The next Hoogle release will be from that, and it may already fix/improve whatever issues you care about.

kuk0 commented 8 years ago

Great to hear that. I have actually seen your blog-post, however, it's one year old, so i wasn't sure what was the state of it. Do you have any updates? E.g., when is gonna be in stackage? Is it already usable? What is missing?

ndmitchell commented 8 years ago

It's usable, vastly faster than the old one (a minute vs a few hours to create a database) and vastly simpler. The reasons its not the default yet:

I've been using it for the last year. I've been rather busy this year due to other things, but I still hope to get some time together to push it over the line in the next few months.