serokell / hackage-search

An application that lets you search for anything on Hackage
https://hackage-search.serokell.io/
24 stars 0 forks source link

Filter out comments #11

Open goldfirere opened 4 years ago

goldfirere commented 4 years ago

It would be great if this could search only outside comments (by request). I suppose this means lexing the files, so I'm not sure how how it would be to implement, or what the impact would be on performance.

And, once you've lexed the files, you could also have the option of searching only outside of strings (or within them!).

ocramz commented 2 years ago

@goldfirere are you thinking of a Haskell Language Server .. as a service ?! 💭 💭 💭

goldfirere commented 2 years ago

Maybe? I don't think so. I don't quite see how my request here relates to HLS, except that both have to lex Haskell. I mean, HLS as a service might be neat for other reasons, but I don't think I'm requesting that here.