Hoogle doesn't index 'HasCallStack'
https://hoogle.haskell.org/?hoogle=HasCallStack
Produces no results. Yet
https://hoogle.haskell.org/?hoogle=CallStack
does. And HasCallStack is in the same module as CallStack.
Could it be because HasCallStack is a type alias for implicit parameters (a rather rare thing to find)?
Very likely, looking at the logs:
base:12050:failed to parse: type HasCallStack = (?callStack :: CallStack)
Seems haskell-src-exts gives a parse error on this regardless of how many extensions I enabled. The right long-term fix is to migrate over to ghc-lib-parser, but it's barely worth it for one definition.
I could add some more in a new hackage upload... :stuck_out_tongue_closed_eyes:
Makes sense.
If someone wants to do the work to migrate to ghc-lib-parser it would be great - but I think the number of issues it resolves is actually quite small. We have more garbage produced by Haddock problems than failure to parse valid stuff problems.