wz1000
wz1000
We tried this but it breaks stuff which uses `withMappedFile` and doesn't rely on GHC to parse the file(textual operations like diffs etc.). So with these changes, we would have...
Can you confirm that all the entries in the AST(parsed, renamed, typechecked etc.) have the correct `FilePath`s everywhere after this? If that is the case, then I guess we shouldn't...
I don't think this is possible via the ghc api. We would have to use some third-party tool like `codex` or `hasktags`
This isn't a bug with ghc, as ghc doesn't know about the source files of installed packages, it just cares about the `.hi` and `.o` files. In most cases, the...
@IvanMalison well, like I said, it could be possible by making use of tools like codex and hasktags There is a deeper UX issue as well here. Any edits you...
@IvanMalison I don't see a way to get GHC to give us this info, so I think we will have to rely on tags or something similar, perhaps making use...
Since we would only use tags for external dependencies, tag would need to be regenerated only when dependencies change. Also, since we can tell by looking at the package a...
We were actually considering getting rid of `|?`, replacing it with custom types or something like a lightweight extensible sum. Nested `(|?)` leads to some horrible code, for example here:...
I implemented something, not sure if its worth it: https://github.com/wz1000/haskell-lsp/commit/06f2c6c175e6b663ac03934f280dfe8b0017ad8c /cc @bubba
Do we need `generics-sop` for that? Wouldn't regular `GHC.Generics` be good enough?