Skip to content

Instantly share code, notes, and snippets.


Javier Neira jneira

View GitHub Profile
View cabal-dynhls.project.local
package haskell-language-server
ghc-options: -dynamic
View ghcup.error.log
> cabal install -w ghc-8.8.4
Building executable 'hsc2hs' for hsc2hs-0.68.7..
[ 1 of 12] Compiling ATTParser ( ATTParser.hs, dist\build\hsc2hs\hsc2hs-tmp\ATTParser.o )
[12 of 12] Compiling Main ( Main.hs, dist\build\hsc2hs\hsc2hs-tmp\Main.o )
Linking dist\build\hsc2hs\hsc2hs.exe ...
realgcc.exe: error: LEVEL=6: No such file or directory
ghc.exe: panic! (the 'impossible' happened)
(GHC version 8.8.4 for x86_64-unknown-mingw32):
View gist:50f06d70bd39177edb2a7f539ec3d69d
D:\ws\haskell\ghcup-hs>cabal build
Build profile: -w ghc-8.6.5 -O2
In order, the following will be built (use -v for more details):
- libarchive- (lib:libarchive) (requires build)
- yaml-streamly-0.12.0 (lib) (requires build)
- ghcup- (lib) (first run)
- ghcup- (test:ghcup-test) (first run)
- ghcup- (exe:ghcup) (first run)
[1 of 1] Compiling Main ( D:\ws\haskell\ghcup-hs\dist-newstyle\tmp\s
rc-13672\libarchive-\dist\setup\setup.hs, D:\ws\haskell\ghcup-hs\dist-new
View autoconf-2.71.log
PS D:\dev\ws\haskell\issues\network-> D:\bin\cabal.exe build
Build profile: -w ghc-8.10.7 -O1
In order, the following will be built (use -v for more details):
- network- (lib:network) (first run)
Configuring network-
configure: WARNING: unrecognized options: --with-compiler
checking build system type... x86_64-pc-msys
checking host system type... x86_64-pc-msys
checking for gcc... D:\ghcup\ghc\8.10.7\lib\../mingw/bin\gcc.exe
checking whether the C compiler works... yes
View stack-check.log
D:\ws\haskell\stack-test>stack --version
Version, Git revision 016cb8490f5c5b6e8a0fa3c9cf1172f64b5810d9 x86_64 hp
D:\ws\haskell\stack-test>where stack
D:\ws\haskell\stack-test>dir %STACK_ROOT%\hooks\
El volumen de la unidad D es Datos
El número de serie del volumen es: 6EEC-72D7
View stack build output
stack : Version 2.8.0, Git revision ad4849e7689b823a0300cba938ebff85ebd1d470 (dirty) (8357
commits) PRE-RELEASE x86_64
En línea: 1 Carácter: 1
+ stack build -v 2>&1 | out-file .\output.txt
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Version 2.8.0, ...-RELEASE x86_64:String) [], RemoteE
+ FullyQualifiedErrorId : NativeCommandError
Compiled with:
View bootstrap-haskell.ps1.log
PS D:\> .\bootstrap-haskell.ps1
Advertencia de seguridad
Ejecute sólo los scripts de confianza. Los archivos procedentes de Internet
pueden ser útiles, pero algunos archivos podrían dañar su equipo. ¿Desea
ejecutar D:\bootstrap-haskell.ps1?
[N] No ejecutar [Z] Ejecutar una vez [U] Suspender [?] Ayuda
(el valor predeterminado es "N"):Z
Preparing for GHCup installation...
First checking for Msys2...
jneira /
Last active Apr 29, 2021
gsoc proposal

Title Incorporating semantic tokens and call hierarchies into the Haskell Language Server


Version 3.16.0 of the Language Server Protocol (LSP) introduces the notion of semantic tokens and call hierarchies. Semantic tokens allow for coloring of specific tokens in a document by allowing the server to specify their type (ie, function, “static” modifier, type, etc.) Call hierarchies allow programmers to see the incoming and outgoing call sites for functions. Currently, Haskell’s

View apply refact with
  • hlintcpp branch ghc-8.8.3
      apply hints works with CPP via language pragma:                                          FAIL (expected: apply-refact doesn't work with cpp) (66.79s)
        Timed out waiting to receive a message from the server.
        Last message received:
            "tag": "RspExecuteCommand",
            "contents": {
jneira / addDependentFile.log
Last active Oct 8, 2020
output of flaky tests
View addDependentFile.log
2020-10-06T07:45:00.8920229Z addDependentFile
2020-10-06T07:45:00.8921064Z file-changed
2020-10-06T07:45:00.8921653Z test: --> {
2020-10-06T07:45:00.8924377Z "jsonrpc": "2.0",
2020-10-06T07:45:00.8925056Z "params": {
2020-10-06T07:45:00.8926009Z "rootUri": "file:///C:/Users/VssAdministrator/AppData/Local/Temp/extra-dir-527926104874",
2020-10-06T07:45:00.8927045Z "processId": 2412,
2020-10-06T07:45:00.8927826Z "rootPath": "C:\\Users\\VssAdministrator\\AppData\\Local\\Temp\\extra-dir-527926104874",
2020-10-06T07:45:00.8928545Z "capabilities": {
2020-10-06T07:45:00.8929191Z "window": {