alexwl / haskell-code-explorer

Web application for exploring and understanding Haskell codebases
MIT License
509 stars 20 forks source link

Enhancement: Link to pragma documentation #18

Open langston-barrett opened 5 years ago

langston-barrett commented 5 years ago

It would be quite convenient if GHC pragmas like {-# OVERLAPS #-} or {-# LANGUAGE OverloadedStrings #-} linked to their documentation!

alexwl commented 5 years ago

I haven't thought about it before.

It's a useful feature since the number of language extensions that GHC supports is impressive:

$ ghc --supported-extensions | wc -l
247

I think I can implement this feature completely on the client side (there will be no need to rebuild haskell-code-indexer and to reindex packages).