-
-
Notifications
You must be signed in to change notification settings - Fork 414
Description
The majority of code actions no longer have an effect on the file I'm editing. Some basic actions (like Generate signature comments work but anything more complex like Eta reduction etc. don't). They were previously working.
Your environment
Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:
haskell-language-server-8.10.4 --probe-tools
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /usr/bin/haskell-language-server-8.10.4) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
Tool versions found on the $PATH
cabal: Not found
stack: 2.5.1
ghc: 8.10.4Which lsp-client do you use:
Emacs 27.1 - the Arch linux official package
Here are the relevant parts of my config
I have the following installed from melpa:
lsp-haskell 20210209.2150
lsp-mode 20210314.1828
lsp-ui 20210220.703
I'm using the (unofficial) AUR version of HLS - which basically downloads and installs the binaries from this repo.
To edit stand alone files and projects that don't use cabal or stack I also have:
I installed brittany and hlint using stack and they are both on my path.
- brittany version 0.13.1.1
- HLint v3.2.7,
Describe your project (alternative: link to the project):
I first noticed the problem working my way through the haskell fp-course fork that uses stack.
Contents of stack.yaml:
require-stack-version: ">= 1.6.1"
resolver: stack-snapshot.yaml
packages:
- .Contents of `stack-snapshot.yaml:
resolver: lts-17.6
name: fp-courseHowever I get the same issue using a single stand alone test file without a cradle.
Steps to reproduce
Create a test file in a folder without using any cabal or stack config
module Test where
fn :: Int -> Int
fn = \x -> x * 2
Place cursor at the end of the 3rd line.
There are 2 hints reported via flycheck. The flycheck errors buffer shows the following
Found:
fn = \ x -> x * 2
Why not:
fn x = x * 2
(lsp)
Found:
\ x -> x * 2
Why not:
(* 2)
(lsp)
Click Apply all hints.
Expected behaviour
Buffer changes to fn = (* 2) or similar
Actual behaviour
Code doesn't change and the cursor jump elsewhere. The jump depends on the situation but in this example it moves to the end of the file. In other situations (like in the fp-course) the cursor generally jumps somewhere nupredictable in the comments directly above the code.
Include debug information
Execute in the root of your project the command haskell-language-server --debug . and paste the logs here:
Debug output:
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /usr/bin/haskell-language-server-8.10.4) (GIT hash: 4cd1cf934638881e52b3eba9f70157a4b799c0e9)
ghcide setup tester in /home/bhrgunatha/docs/scratch.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /home/bhrgunatha/docs/scratch
Found 3 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
()
Step 3/4: Initializing the IDE
Step 4/4: Type checking the files
2021-03-18 11:58:38.818389308 [ThreadId 4] DEBUG hls: Set files of interest to: [(NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",OnDisk),(NormalizedFilePath "/home/bhrgunatha/docs/scratch/Wat.hs",OnDisk),(NormalizedFilePath "/home/bhrgunatha/docs/scratch/Parsing.hs",OnDisk)]
2021-03-18 11:58:38.819340914 [ThreadId 30] INFO hls: Consulting the cradle for "Test.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/home/bhrgunatha/docs/scratch", cradleOptsProg = CradleAction: Default}
2021-03-18 11:58:38.868480694 [ThreadId 30] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = [], componentRoot = "/home/bhrgunatha/docs/scratch", componentDependencies = []},"/usr/lib/ghc-8.10.4")
2021-03-18 11:58:38.904692062 [ThreadId 30] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:58:38.904803386 [ThreadId 30] INFO hls: Making new HscEnv[main]
2021-03-18 11:58:38.908470956 [ThreadId 30] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 23),fromList [])
2021-03-18 11:58:38.908575652 [ThreadId 30] DEBUG hls: Known files updated: fromList [(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",["/home/bhrgunatha/docs/scratch/Test.hs"])]
2021-03-18 11:58:38.908876628 [ThreadId 30] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:58:38.908994583 [ThreadId 14] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:58:38.910338251 [ThreadId 52] INFO hls: File:
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DsError
Message:
�[0;91mInternal error, getIdeGlobalExtras, no entry for IdeConfigurationVar
CallStack (from HasCallStack):
errorIO, called at src/Development/IDE/Core/Shake.hs:284:20 in
ghcide-1.0.0.0-inplace:Development.IDE.Core.Shake�[0m
2021-03-18 11:58:38.910751168 [ThreadId 55] INFO hls: Consulting the cradle for "Wat.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/home/bhrgunatha/docs/scratch", cradleOptsProg = CradleAction: Default}
2021-03-18 11:58:38.960051761 [ThreadId 55] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = [], componentRoot = "/home/bhrgunatha/docs/scratch", componentDependencies = []},"/usr/lib/ghc-8.10.4")
2021-03-18 11:58:38.996912426 [ThreadId 55] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:58:38.997023625 [ThreadId 55] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:58:38.997068969 [ThreadId 55] INFO hls: Making new HscEnv[main,main]
2021-03-18 11:58:39.000673931 [ThreadId 55] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 46),fromList [])
2021-03-18 11:58:39.000760494 [ThreadId 55] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 47),fromList [])
2021-03-18 11:58:39.00082045 [ThreadId 55] DEBUG hls: Known files updated: fromList [(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Wat.hs",["/home/bhrgunatha/docs/scratch/Wat.hs"]),(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",["/home/bhrgunatha/docs/scratch/Test.hs"])]
2021-03-18 11:58:39.001107648 [ThreadId 41] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:58:39.001180605 [ThreadId 55] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:58:39.003059682 [ThreadId 79] INFO hls: Consulting the cradle for "Parsing.hs"
Output from setting up the cradle Cradle {cradleRootDir = "/home/bhrgunatha/docs/scratch", cradleOptsProg = CradleAction: Default}
2021-03-18 11:58:39.051801096 [ThreadId 79] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = [], componentRoot = "/home/bhrgunatha/docs/scratch", componentDependencies = []},"/usr/lib/ghc-8.10.4")
2021-03-18 11:58:39.087823446 [ThreadId 79] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:58:39.087932567 [ThreadId 79] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:58:39.087980726 [ThreadId 79] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:58:39.088024123 [ThreadId 79] INFO hls: Making new HscEnv[main,main,main]
2021-03-18 11:58:39.09155875 [ThreadId 79] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 76),fromList [])
2021-03-18 11:58:39.091660245 [ThreadId 79] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 77),fromList [])
2021-03-18 11:58:39.091705345 [ThreadId 79] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 78),fromList [])
2021-03-18 11:58:39.091827381 [ThreadId 79] DEBUG hls: Known files updated: fromList [(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Parsing.hs",["/home/bhrgunatha/docs/scratch/Parsing.hs"]),(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Wat.hs",["/home/bhrgunatha/docs/scratch/Wat.hs"]),(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",["/home/bhrgunatha/docs/scratch/Test.hs"])]
2021-03-18 11:58:39.092405199 [ThreadId 79] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:58:39.092598191 [ThreadId 67] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:58:39.155446306 [ThreadId 165] INFO hls: finish: User TypeCheck (took 0.06s)
2021-03-18 11:58:39.165508541 [ThreadId 174] INFO hls: finish: GetHie (took 0.01s)
2021-03-18 11:58:39.165756404 [ThreadId 175] INFO hls: finish: GenerateCore (took 0.00s)
Completed (3 files worked, 0 files failed)
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
2021-03-18 11:57:36.058421965 [ThreadId 5] INFO haskell-lsp.runWith:
haskell-lsp:Starting up server ...
2021-03-18 11:57:36.058861648 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"initialize","params":{"processId":null,"rootPath":"/home/bhrgunatha","clientInfo":{"name":"emacs","version":"GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3)\n of 2020-08-29"},"rootUri":"file:///home/bhrgunatha","capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"resolveSupport":{"properties":["edit","command"]},"dataSupport":true},"completion":{"completionItem":{"snippetSupport":true,"documentationFormat":["markdown"],"resolveAdditionalTextEditsSupport":true,"resolveSupport":{"properties":["documentation","details","additionalTextEdits","command"]}},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":false},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":true}},"window":{"workDoneProgress":true}},"initializationOptions":null,"workDoneToken":"1"},"id":1}
2021-03-18 11:57:36.120452333 [ThreadId 5] INFO hls: Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 3242468886932468140 "file:///home/bhrgunatha"], clientSettings = hashed Nothing}
2021-03-18 11:57:36.121087152 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":{"capabilities":{"foldingRangeProvider":false,"hoverProvider":true,"typeDefinitionProvider":true,"colorProvider":false,"renameProvider":false,"declarationProvider":false,"executeCommandProvider":{"commands":["140478:class:addMinimalMethodPlaceholders","140478:eval:evalCommand","140478:ghcide-completions:extendImport","140478:ghcide-type-lenses:typesignature.add","140478:hlint:applyOne","140478:hlint:applyAll","140478:importLens:ImportLensCommand","140478:moduleName:edit","140478:retrie:retrieCommand","140478:splice:expandTHSpliceInplace","140478:tactic:tacticsAutoCommand","140478:tactic:tacticsIntrosCommand","140478:tactic:tacticsDestructCommand","140478:tactic:tacticsHomomorphismCommand","140478:tactic:tacticsDestructLambdaCaseCommand","140478:tactic:tacticsHomomorphismLambdaCaseCommand"]},"documentRangeFormattingProvider":true,"documentHighlightProvider":true,"implementationProvider":false,"completionProvider":{"resolveProvider":false,"triggerCharacters":["."]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}},"definitionProvider":true,"documentFormattingProvider":true,"referencesProvider":true,"selectionRangeProvider":false,"codeLensProvider":{"resolveProvider":false,"workDoneProgress":false},"documentSymbolProvider":true,"textDocumentSync":{"save":{},"change":2,"openClose":true},"workspaceSymbolProvider":true,"codeActionProvider":true}},"id":1,"jsonrpc":"2.0"}
2021-03-18 11:57:36.122890387 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"initialized","params":{}}
2021-03-18 11:57:36.123421263 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"haskell":{"formattingProvider":"brittany","formatOnImportOn":true,"completionSnippetsOn":true,"liquidOn":false,"diagnosticsOnChange":true,"maxNumberOfProblems":100,"hlintOn":true,"plugin":{"ghcide":{"globalOn":true},"pragmas":{"globalOn":true},"floskell":{"globalOn":true},"fourmolu":{"globalOn":true},"ormolu":{"globalOn":true},"stylish-haskell":{"globalOn":true},"brittany":{"globalOn":true},"tactic":{"globalOn":true},"retrie":{"globalOn":true},"eval":{"globalOn":true},"importLens":{"globalOn":true},"moduleName":{"globalOn":true},"hlint":{"globalOn":true}}}}}}
2021-03-18 11:57:36.123643221 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs","languageId":"haskell","version":0,"text":"module Test where\nfn :: Int -> Int\nfn = \\x -> x * 2\n"}}}
2021-03-18 11:57:36.12943888 [ThreadId 19] DEBUG hls: Configuration changed: Object (fromList [("haskell",Object (fromList [("completionSnippetsOn",Bool True),("diagnosticsOnChange",Bool True),("formatOnImportOn",Bool True),("formattingProvider",String "brittany"),("hlintOn",Bool True),("liquidOn",Bool False),("maxNumberOfProblems",Number 100.0),("plugin",Object (fromList [("brittany",Object (fromList [("globalOn",Bool True)])),("eval",Object (fromList [("globalOn",Bool True)])),("floskell",Object (fromList [("globalOn",Bool True)])),("fourmolu",Object (fromList [("globalOn",Bool True)])),("ghcide",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("globalOn",Bool True)])),("importLens",Object (fromList [("globalOn",Bool True)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("ormolu",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("stylish-haskell",Object (fromList [("globalOn",Bool True)])),("tactic",Object (fromList [("globalOn",Bool True)]))]))]))])
2021-03-18 11:57:36.131660857 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"globalFileWatches","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"kind":5,"globPattern":"**/*.hs"},{"kind":5,"globPattern":"**/*.hs-boot"},{"kind":5,"globPattern":"**/*.lhs"},{"kind":5,"globPattern":"**/*.lhs-boot"}]}}]},"jsonrpc":"2.0"}
2021-03-18 11:57:36.131799156 [ThreadId 19] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:57:36.131879036 [ThreadId 18] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:57:36.132083997 [ThreadId 19] DEBUG hls: Set files of interest to: [(NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",Modified {firstOpen = True})]
2021-03-18 11:57:36.132231347 [ThreadId 37] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:57:36.132299666 [ThreadId 19] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:57:36.132396965 [ThreadId 19] DEBUG hls: Opened text document: file:///home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:36.133090757 [ThreadId 63] INFO hls: hlint:getIdeas:file:NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs"
2021-03-18 11:57:36.133569068 [ThreadId 65] INFO hls: Consulting the cradle for "docs/scratch/Test.hs"
2021-03-18 11:57:36.136445036 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"window/showMessage","params":{"message":"No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for docs/scratch/Test.hs.\n Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).\nYou should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.","type":2},"jsonrpc":"2.0"}
2021-03-18 11:57:36.136585896 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"id":1,"method":"window/workDoneProgress/create","params":{"token":0},"jsonrpc":"2.0"}
2021-03-18 11:57:36.136676609 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":0,"value":{"title":"Setting up bhrgunatha (for docs/scratch/Test.hs)","kind":"begin","cancellable":false}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.184832722 [ThreadId 65] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = [], componentRoot = "/home/bhrgunatha", componentDependencies = []},"/usr/lib/ghc-8.10.4")
2021-03-18 11:57:36.185067799 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":0,"value":{"kind":"end"}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.228018633 [ThreadId 65] INFO hls: Using interface files cache dir: /home/bhrgunatha/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709
2021-03-18 11:57:36.228146889 [ThreadId 65] INFO hls: Making new HscEnv[main]
2021-03-18 11:57:36.233319347 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"id":2,"method":"window/workDoneProgress/create","params":{"token":"23"},"jsonrpc":"2.0"}
2021-03-18 11:57:36.233438286 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":"23","value":{"title":"Processing","kind":"begin"}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.234982857 [ThreadId 65] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 24),fromList [])
2021-03-18 11:57:36.235087893 [ThreadId 65] DEBUG hls: Known files updated: fromList [(TargetFile NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",["/home/bhrgunatha/docs/scratch/Test.hs"])]
2021-03-18 11:57:36.235455939 [ThreadId 44] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:57:36.235517257 [ThreadId 65] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:57:36.236349341 [ThreadId 90] INFO hls: hlint:getIdeas:file:NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs"
2021-03-18 11:57:36.263654662 [ThreadId 128] DEBUG hls: finish: InitialLoad (took 0.03s)
2021-03-18 11:57:36.263680633 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"id":3,"method":"window/workDoneProgress/create","params":{"token":"56"},"jsonrpc":"2.0"}
2021-03-18 11:57:36.263808722 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":"56","value":{"title":"Indexing references from:","kind":"begin"}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.263951235 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":"56","value":{"message":"NormalizedFilePath \"/home/bhrgunatha/docs/scratch/Test.hs\" (0/1)...","kind":"report"}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.26404408 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":"23","value":{"kind":"end"}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.265187559 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":"56","value":{"message":"Finished indexing 1 files","kind":"end"}},"jsonrpc":"2.0"}
2021-03-18 11:57:36.428018914 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs","version":0},"jsonrpc":"2.0"}
2021-03-18 11:57:36.634585676 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"}},"id":2}
2021-03-18 11:57:36.634748682 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}},"id":3}
2021-03-18 11:57:36.634868992 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":0,"character":0}},"id":4}
2021-03-18 11:57:36.634941984 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}},"id":5}
2021-03-18 11:57:36.63497773 [ThreadId 146] INFO hls: finish: Outline (took 0.00s)
2021-03-18 11:57:36.635119182 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"selectionRange":{"end":{"character":11,"line":0},"start":{"character":7,"line":0}},"range":{"end":{"character":0,"line":9223372036854775807},"start":{"character":0,"line":0}},"children":[{"selectionRange":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"kind":12,"name":"fn"}],"kind":1,"name":"Test"}],"id":2,"jsonrpc":"2.0"}
2021-03-18 11:57:36.635370466 [ThreadId 160] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:36.636384921 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"}},"id":6}
2021-03-18 11:57:36.636580329 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":3}}
2021-03-18 11:57:36.636663252 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}},"id":7}
2021-03-18 11:57:36.636727828 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":4}}
2021-03-18 11:57:36.636778134 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":0,"character":0}},"id":8}
2021-03-18 11:57:36.636900187 [ThreadId 175] DEBUG hls: DocumentHighlight request at position 1:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:36.636995453 [ThreadId 167] DEBUG hls: DocumentHighlight request at position 1:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:36.637229038 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":8,"jsonrpc":"2.0"}
2021-03-18 11:57:36.637288399 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":4,"jsonrpc":"2.0"}
2021-03-18 11:57:36.637585546 [ThreadId 204] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:36.637701333 [ThreadId 206] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:36.640999981 [ThreadId 208] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:36.641186766 [ThreadId 210] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:36.641421627 [ThreadId 212] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:36.641550695 [ThreadId 214] INFO hls: finish: Outline (took 0.00s)
2021-03-18 11:57:36.642929311 [ThreadId 217] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:36.64295484 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"selectionRange":{"end":{"character":11,"line":0},"start":{"character":7,"line":0}},"range":{"end":{"character":0,"line":9223372036854775807},"start":{"character":0,"line":0}},"children":[{"selectionRange":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"kind":12,"name":"fn"}],"kind":1,"name":"Test"}],"id":6,"jsonrpc":"2.0"}
2021-03-18 11:57:36.64317443 [ThreadId 219] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:36.643284156 [ThreadId 221] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:36.643380163 [ThreadId 225] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:36.643494718 [ThreadId 227] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:36.643609005 [ThreadId 229] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:36.643700687 [ThreadId 231] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.643764139 [ThreadId 230] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:36.643864193 [ThreadId 234] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:36.643956413 [ThreadId 233] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:36.644032636 [ThreadId 237] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:36.644100704 [ThreadId 239] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:36.644172261 [ThreadId 241] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.644240523 [ThreadId 243] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:36.644310843 [ThreadId 245] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.644382498 [ThreadId 247] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:36.644539789 [ThreadId 251] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.644606427 [ThreadId 252] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.644697594 [ThreadId 223] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:36.644819424 [ThreadId 254] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.644920566 [ThreadId 256] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.645056474 [ThreadId 258] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:36.645134514 [ThreadId 260] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:37.407824659 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":5,"jsonrpc":"2.0"}
2021-03-18 11:57:37.408007279 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":3,"jsonrpc":"2.0"}
2021-03-18 11:57:37.408147836 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":7,"jsonrpc":"2.0"}
2021-03-18 11:57:40.226290556 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","id":1,"result":null}
2021-03-18 11:57:40.226433609 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","id":2,"result":null}
2021-03-18 11:57:40.226641328 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"window/logMessage","params":{"message":"haskell-lsp:incoming message parse error. {\"jsonrpc\":\"2.0\",\"id\":1,\"result\":null}\n Error in $.result: parsing () failed, expected Array, but encountered Null\n","type":1},"jsonrpc":"2.0"}
2021-03-18 11:57:40.226652553 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","id":3,"result":null}
2021-03-18 11:57:40.226727101 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"window/logMessage","params":{"message":"haskell-lsp:incoming message parse error. {\"jsonrpc\":\"2.0\",\"id\":2,\"result\":null}\n Error in $.result: parsing () failed, expected Array, but encountered Null\n","type":1},"jsonrpc":"2.0"}
2021-03-18 11:57:40.226795413 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"window/logMessage","params":{"message":"haskell-lsp:incoming message parse error. {\"jsonrpc\":\"2.0\",\"id\":3,\"result\":null}\n Error in $.result: parsing () failed, expected Array, but encountered Null\n","type":1},"jsonrpc":"2.0"}
2021-03-18 11:57:40.235421776 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":7}}
2021-03-18 11:57:40.235508213 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}},"id":9}
2021-03-18 11:57:40.235770916 [ThreadId 278] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:40.236089963 [ThreadId 280] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:40.236131983 [ThreadId 282] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:40.236171313 [ThreadId 284] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:40.236207598 [ThreadId 283] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:40.236366714 [ThreadId 280] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.236370658 [ThreadId 282] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:40.236643946 [ThreadId 283] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.236647911 [ThreadId 284] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.236727107 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":9,"jsonrpc":"2.0"}
2021-03-18 11:57:40.446604351 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}},"id":10}
2021-03-18 11:57:40.446948169 [ThreadId 300] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:40.446976934 [ThreadId 298] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:40.447077812 [ThreadId 298] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:40.447049454 [ThreadId 301] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:40.447102734 [ThreadId 302] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:40.447152089 [ThreadId 301] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.447128415 [ThreadId 299] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:40.447217453 [ThreadId 303] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.44729409 [ThreadId 304] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.447495861 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":10,"jsonrpc":"2.0"}
2021-03-18 11:57:40.747828368 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}},"id":11}
2021-03-18 11:57:40.748237564 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":0,"character":0}},"id":12}
2021-03-18 11:57:40.748685094 [ThreadId 314] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:40.749127626 [ThreadId 322] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:40.749139464 [ThreadId 324] DEBUG hls: DocumentHighlight request at position 1:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:40.74962616 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":12,"jsonrpc":"2.0"}
2021-03-18 11:57:40.749670126 [ThreadId 326] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:40.749960059 [ThreadId 331] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.750091685 [ThreadId 330] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:40.750346413 [ThreadId 331] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.750426601 [ThreadId 330] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:40.750462413 [ThreadId 329] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:40.750566085 [ThreadId 331] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:40.750984773 [ThreadId 332] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:40.751674 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":11,"jsonrpc":"2.0"}
2021-03-18 11:57:42.086327684 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":2,"character":16}},"id":13}
2021-03-18 11:57:42.086526904 [ThreadId 338] DEBUG hls: GhcIde.hover entered (ideLogger)
2021-03-18 11:57:42.08659844 [ThreadId 338] DEBUG hls: Hover request at position 3:17 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:42.086668509 [ThreadId 338] DEBUG hls: LOOKUP UP PERSISTENT FOR: GetDocMap
2021-03-18 11:57:42.086726078 [ThreadId 339] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:42.086738898 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":14}
2021-03-18 11:57:42.086947627 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":{"range":{"end":{"character":16,"line":2},"start":{"character":15,"line":2}},"contents":{"kind":"markdown","value":"\n```haskell\n_ :: Int\n```\n"}},"id":13,"jsonrpc":"2.0"}
2021-03-18 11:57:42.08706338 [ThreadId 357] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:42.087097313 [ThreadId 358] DEBUG hls: finish: C:GetDocMap (took 0.00s)
2021-03-18 11:57:42.087199664 [ThreadId 360] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:42.087238689 [ThreadId 342] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:42.087294399 [ThreadId 358] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:42.087313889 [ThreadId 359] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:42.087394439 [ThreadId 360] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:42.087417958 [ThreadId 358] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:42.087430658 [ThreadId 361] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:42.087469512 [ThreadId 362] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:42.096526332 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":14,"jsonrpc":"2.0"}
2021-03-18 11:57:42.4581494 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":15}
2021-03-18 11:57:42.458580365 [ThreadId 375] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:42.458931069 [ThreadId 379] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:42.458972232 [ThreadId 382] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:42.45898277 [ThreadId 383] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:42.459007808 [ThreadId 381] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:42.459021316 [ThreadId 379] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:42.4590971 [ThreadId 381] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:42.459102983 [ThreadId 383] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:42.459171277 [ThreadId 384] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:42.460148878 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":15,"jsonrpc":"2.0"}
2021-03-18 11:57:43.37641898 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":16}
2021-03-18 11:57:43.376857078 [ThreadId 399] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:43.376917762 [ThreadId 401] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:43.376894011 [ThreadId 402] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:43.376940867 [ThreadId 400] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:43.376956509 [ThreadId 399] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:43.377014822 [ThreadId 402] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:43.3771038 [ThreadId 400] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:43.377115728 [ThreadId 402] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:43.377213144 [ThreadId 403] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:43.378133145 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":16,"jsonrpc":"2.0"}
2021-03-18 11:57:43.677621271 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":17}
2021-03-18 11:57:43.678093619 [ThreadId 418] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:43.678345046 [ThreadId 420] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:43.678506237 [ThreadId 423] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:43.678539427 [ThreadId 420] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:43.678467911 [ThreadId 422] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:43.678719667 [ThreadId 420] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:43.678697785 [ThreadId 421] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:43.67874282 [ThreadId 422] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:43.678810324 [ThreadId 420] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:43.680216813 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":17,"jsonrpc":"2.0"}
2021-03-18 11:57:44.649823695 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":18}
2021-03-18 11:57:44.651057517 [ThreadId 437] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:44.651142557 [ThreadId 423] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:44.651508775 [ThreadId 440] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:44.651780206 [ThreadId 423] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:44.651926515 [ThreadId 441] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:44.652000374 [ThreadId 423] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:44.65194196 [ThreadId 439] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:44.652166233 [ThreadId 440] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:44.652556872 [ThreadId 442] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:44.65601634 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":18,"jsonrpc":"2.0"}
2021-03-18 11:57:44.951362547 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":19}
2021-03-18 11:57:44.952107286 [ThreadId 457] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:44.952062614 [ThreadId 443] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:44.952367046 [ThreadId 459] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:44.952463687 [ThreadId 458] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:44.952501097 [ThreadId 457] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:44.952844493 [ThreadId 459] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:44.953223495 [ThreadId 443] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:44.953328239 [ThreadId 460] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:44.953183503 [ThreadId 457] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:44.957047853 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":19,"jsonrpc":"2.0"}
2021-03-18 11:57:45.257756377 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":20}
2021-03-18 11:57:45.259025424 [ThreadId 476] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:45.259069891 [ThreadId 472] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:45.258967833 [ThreadId 470] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:45.259243769 [ThreadId 476] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:45.259262779 [ThreadId 472] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:45.259333479 [ThreadId 470] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:45.259378541 [ThreadId 479] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:45.259613068 [ThreadId 481] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:45.259653384 [ThreadId 483] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:45.260616319 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":20,"jsonrpc":"2.0"}
2021-03-18 11:57:45.558646274 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":21}
2021-03-18 11:57:45.559426763 [ThreadId 497] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:45.559449079 [ThreadId 495] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:45.559612705 [ThreadId 505] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:45.559837195 [ThreadId 502] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:45.559963533 [ThreadId 503] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:45.560048972 [ThreadId 505] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:45.560077746 [ThreadId 504] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:45.560081891 [ThreadId 502] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:45.560111583 [ThreadId 505] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:45.561093284 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":21,"jsonrpc":"2.0"}
2021-03-18 11:57:46.761593871 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":22}
2021-03-18 11:57:46.762891505 [ThreadId 519] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:46.762942486 [ThreadId 503] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:46.763003591 [ThreadId 521] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:46.763341323 [ThreadId 520] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:46.76344712 [ThreadId 521] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:46.763422865 [ThreadId 519] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:46.763696766 [ThreadId 503] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:46.763816776 [ThreadId 522] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:46.7640392 [ThreadId 524] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:46.76741905 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":22,"jsonrpc":"2.0"}
2021-03-18 11:57:47.063040065 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":23}
2021-03-18 11:57:47.06360883 [ThreadId 539] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:47.064090096 [ThreadId 541] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:47.064317877 [ThreadId 544] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:47.064428009 [ThreadId 543] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:47.064594886 [ThreadId 541] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:47.064646118 [ThreadId 545] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:47.064696153 [ThreadId 543] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:47.064942727 [ThreadId 546] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:47.065105128 [ThreadId 548] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:47.068764459 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":23,"jsonrpc":"2.0"}
2021-03-18 11:57:48.059259291 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs","version":1},"contentChanges":[{"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"rangeLength":0,"text":" "}]}}
2021-03-18 11:57:48.059533837 [ThreadId 19] DEBUG hls: Set files of interest to: [(NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",Modified {firstOpen = False})]
2021-03-18 11:57:48.059954087 [ThreadId 77] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:57:48.060007383 [ThreadId 19] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:57:48.060160244 [ThreadId 19] DEBUG hls: Modified text document: file:///home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:48.061478255 [ThreadId 585] INFO hls: hlint:getIdeas:file:NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs"
2021-03-18 11:57:48.196613852 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs","version":2},"contentChanges":[{"range":{"start":{"line":2,"character":17},"end":{"line":2,"character":17}},"rangeLength":0,"text":" "}]}}
2021-03-18 11:57:48.197458674 [ThreadId 19] DEBUG hls: Set files of interest to: [(NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs",Modified {firstOpen = False})]
2021-03-18 11:57:48.197949461 [ThreadId 19] DEBUG hls: Restarting build session (aborting the previous one took 0.00s)
2021-03-18 11:57:48.198275172 [ThreadId 19] DEBUG hls: Modified text document: file:///home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:48.198551518 [ThreadId 554] DEBUG hls: Finishing build session(exception: AsyncCancelled)
2021-03-18 11:57:48.202815347 [ThreadId 651] INFO hls: hlint:getIdeas:file:NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs"
2021-03-18 11:57:48.453535127 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":18},"end":{"line":2,"character":18}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":24}
2021-03-18 11:57:48.453930666 [ThreadId 630] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:48.453968653 [ThreadId 695] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:48.454042762 [ThreadId 696] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:48.454101955 [ThreadId 695] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:48.45413078 [ThreadId 630] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:48.454367229 [ThreadId 699] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:48.454441081 [ThreadId 700] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:48.454547547 [ThreadId 703] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:48.454567354 [ThreadId 702] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:48.456040809 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":24,"jsonrpc":"2.0"}
2021-03-18 11:57:48.756881531 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"}},"id":25}
2021-03-18 11:57:48.757519801 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":18},"end":{"line":2,"character":18}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":26}
2021-03-18 11:57:48.757779179 [ThreadId 709] INFO hls: finish: Outline (took 0.00s)
2021-03-18 11:57:48.758284966 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"selectionRange":{"end":{"character":11,"line":0},"start":{"character":7,"line":0}},"range":{"end":{"character":0,"line":9223372036854775807},"start":{"character":0,"line":0}},"children":[{"selectionRange":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"kind":12,"name":"fn"}],"kind":1,"name":"Test"}],"id":25,"jsonrpc":"2.0"}
2021-03-18 11:57:48.758756831 [ThreadId 722] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:48.759199663 [ThreadId 722] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:48.759286662 [ThreadId 724] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:48.759299579 [ThreadId 722] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:48.75936886 [ThreadId 724] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:48.759422394 [ThreadId 724] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:48.759010822 [ThreadId 725] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:48.759555988 [ThreadId 728] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:48.759674014 [ThreadId 729] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:48.760610472 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":26,"jsonrpc":"2.0"}
2021-03-18 11:57:49.681269777 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":18},"end":{"line":2,"character":18}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":27}
2021-03-18 11:57:49.681879367 [ThreadId 744] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:49.681837206 [ThreadId 730] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:49.682234645 [ThreadId 744] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:49.6824163 [ThreadId 746] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:49.682522122 [ThreadId 745] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:49.682599374 [ThreadId 744] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:49.682704379 [ThreadId 746] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:49.682891126 [ThreadId 747] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:49.683179882 [ThreadId 748] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:49.68682943 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":27,"jsonrpc":"2.0"}
2021-03-18 11:57:50.022579945 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":18},"end":{"line":2,"character":18}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":28}
2021-03-18 11:57:50.023071254 [ThreadId 763] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:50.023088388 [ThreadId 764] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:50.023119733 [ThreadId 749] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:50.023193407 [ThreadId 765] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:50.023246632 [ThreadId 764] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:50.023261715 [ThreadId 763] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:50.023277467 [ThreadId 749] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:50.023579527 [ThreadId 766] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:50.024058382 [ThreadId 768] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:50.026415004 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":28,"jsonrpc":"2.0"}
2021-03-18 11:57:50.323780068 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":2,"character":18},"end":{"line":2,"character":18}},"context":{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"},{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}]}},"id":29}
2021-03-18 11:57:50.32435369 [ThreadId 783] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:50.324933241 [ThreadId 785] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:50.32534798 [ThreadId 789] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:50.3256408 [ThreadId 789] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:50.32551392 [ThreadId 787] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:50.325782228 [ThreadId 785] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:50.325919329 [ThreadId 787] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:50.32574593 [ThreadId 790] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:50.326074416 [ThreadId 791] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:50.327109655 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":0,"line":2}},"message":"Redundant lambda\nFound:\n fn = \\ x -> x * 2\nWhy not:\n fn x = x * 2\n","severity":3,"code":"refact:Redundant lambda","source":"hlint"}],"title":"Apply hint: Redundant lambda","kind":"quickfix","command":{"title":"Apply hint: Redundant lambda","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":0,"line":2},"hintTitle":"Redundant lambda"}]}},{"diagnostics":[{"range":{"end":{"character":16,"line":2},"start":{"character":5,"line":2}},"message":"Avoid lambda using `infix`\nFound:\n \\ x -> x * 2\nWhy not:\n (* 2)\n","severity":3,"code":"refact:Avoid lambda using `infix`","source":"hlint"}],"title":"Apply hint: Avoid lambda using `infix`","kind":"quickfix","command":{"title":"Apply hint: Avoid lambda using `infix`","command":"140478:hlint:applyOne","arguments":[{"file":"file:///home/bhrgunatha/docs/scratch/Test.hs","start_pos":{"character":5,"line":2},"hintTitle":"Avoid lambda using `infix`"}]}}],"id":29,"jsonrpc":"2.0"}
2021-03-18 11:57:52.770749203 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"workspace/executeCommand","params":{"command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]},"id":30}
2021-03-18 11:57:52.771325088 [ThreadId 797] INFO hls: hlint:applyAllCmd:file=NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs"
2021-03-18 11:57:52.771459767 [ThreadId 798] INFO hls: hlint:getIdeas:file:NormalizedFilePath "/home/bhrgunatha/docs/scratch/Test.hs"
2021-03-18 11:57:52.771530416 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"id":4,"method":"window/workDoneProgress/create","params":{"token":1},"jsonrpc":"2.0"}
2021-03-18 11:57:52.771553529 [ThreadId 798] INFO hls: finish: applyHint (took 0.00s)
2021-03-18 11:57:52.771600352 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":1,"value":{"title":"Applying all hints","kind":"begin","cancellable":true}},"jsonrpc":"2.0"}
2021-03-18 11:57:52.771717439 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","id":4,"result":null}
2021-03-18 11:57:52.77182123 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"window/logMessage","params":{"message":"haskell-lsp:incoming message parse error. {\"jsonrpc\":\"2.0\",\"id\":4,\"result\":null}\n Error in $.result: parsing () failed, expected Array, but encountered Null\n","type":1},"jsonrpc":"2.0"}
2021-03-18 11:57:52.771608155 [ThreadId 797] INFO hls: applyHint:apply=[[],[Replace {rtype = Decl, pos = SrcSpan {startLine = 3, startCol = 1, endLine = 3, endCol = 17}, subts = [("body",SrcSpan {startLine = 3, startCol = 12, endLine = 3, endCol = 17}),("a",SrcSpan {startLine = 3, startCol = 7, endLine = 3, endCol = 8})], orig = "fn a = body"}],[Replace {rtype = Expr, pos = SrcSpan {startLine = 3, startCol = 6, endLine = 3, endCol = 17}, subts = [], orig = "(* 2)"}]]
2021-03-18 11:57:52.774051782 [ThreadId 800] INFO hls: finish: applyHint (took 0.00s)
2021-03-18 11:57:52.774160876 [ThreadId 802] INFO hls: finish: applyHint (took 0.00s)
2021-03-18 11:57:52.774249799 [ThreadId 804] INFO hls: finish: applyHint (took 0.00s)
2021-03-18 11:57:52.774409269 [ThreadId 794] ERROR hls: Unexpected exception on request, please report!
Exception: ExitFailure 1
2021-03-18 11:57:52.774431699 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"method":"$/progress","params":{"token":1,"value":{"kind":"end"}},"jsonrpc":"2.0"}
2021-03-18 11:57:52.774503518 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"id":30,"jsonrpc":"2.0","error":{"message":"ExitFailure 1","code":-32603}}
2021-03-18 11:57:53.076124618 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":31}
2021-03-18 11:57:53.076524502 [ThreadId 819] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:53.076539967 [ThreadId 821] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:53.076551937 [ThreadId 822] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:53.076578854 [ThreadId 823] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:53.076616135 [ThreadId 819] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:53.076629486 [ThreadId 822] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:53.076650627 [ThreadId 823] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:53.076911525 [ThreadId 824] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:53.07738154 [ThreadId 826] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:53.078089003 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":31,"jsonrpc":"2.0"}
2021-03-18 11:57:53.377159247 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":32}
2021-03-18 11:57:53.377312068 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":3,"character":0}},"id":33}
2021-03-18 11:57:53.377379089 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":3,"character":0}},"id":34}
2021-03-18 11:57:53.377490503 [ThreadId 841] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:53.377610635 [ThreadId 845] DEBUG hls: DocumentHighlight request at position 4:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:53.377512865 [ThreadId 848] DEBUG hls: GhcIde.hover entered (ideLogger)
2021-03-18 11:57:53.377681742 [ThreadId 850] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:53.378006726 [ThreadId 848] DEBUG hls: Hover request at position 4:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:53.378121774 [ThreadId 855] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:53.378264831 [ThreadId 852] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:53.378392463 [ThreadId 850] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:53.378634351 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":33,"jsonrpc":"2.0"}
2021-03-18 11:57:53.378893429 [ThreadId 854] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:53.379486335 [ThreadId 855] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:53.3796087 [ThreadId 850] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:53.379805761 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":null,"id":34,"jsonrpc":"2.0"}
2021-03-18 11:57:53.379623244 [ThreadId 854] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:53.380842417 [ThreadId 857] DEBUG hls: finish: C:GetDocMap (took 0.00s)
2021-03-18 11:57:53.381092965 [ThreadId 858] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:53.381297628 [ThreadId 860] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:53.382129141 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":32,"jsonrpc":"2.0"}
2021-03-18 11:57:55.081354001 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":35}
2021-03-18 11:57:55.082165491 [ThreadId 871] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:55.082225969 [ThreadId 875] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:55.082443081 [ThreadId 874] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:55.082508205 [ThreadId 871] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:55.082618903 [ThreadId 875] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:55.082774479 [ThreadId 871] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:55.082882245 [ThreadId 875] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.083291391 [ThreadId 875] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.083899041 [ThreadId 880] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.084674114 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":35,"jsonrpc":"2.0"}
2021-03-18 11:57:55.382427035 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":36}
2021-03-18 11:57:55.382751865 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":3,"character":0}},"id":37}
2021-03-18 11:57:55.383216469 [ThreadId 899] DEBUG hls: DocumentHighlight request at position 4:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:55.383388731 [ThreadId 900] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:55.383592872 [ThreadId 895] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:55.383654043 [ThreadId 901] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:55.383809241 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":37,"jsonrpc":"2.0"}
2021-03-18 11:57:55.384333707 [ThreadId 906] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:55.384389003 [ThreadId 904] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:55.384706109 [ThreadId 910] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:55.384776854 [ThreadId 912] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.38468896 [ThreadId 908] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:55.385135531 [ThreadId 913] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.385932868 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":36,"jsonrpc":"2.0"}
2021-03-18 11:57:55.385471105 [ThreadId 915] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.657510223 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":38}
2021-03-18 11:57:55.658345377 [ThreadId 930] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:55.659121161 [ThreadId 932] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:55.659188836 [ThreadId 936] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.659209207 [ThreadId 935] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:55.659061745 [ThreadId 934] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:55.659367898 [ThreadId 936] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:55.659387338 [ThreadId 932] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:55.659405271 [ThreadId 937] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.659496947 [ThreadId 939] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.659689109 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":38,"jsonrpc":"2.0"}
2021-03-18 11:57:55.944882384 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":39}
2021-03-18 11:57:55.945276102 [ThreadId 954] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:55.945293349 [ThreadId 940] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:55.94537552 [ThreadId 956] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:55.94539128 [ThreadId 955] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:55.945413233 [ThreadId 954] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:55.945429255 [ThreadId 940] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:55.945457607 [ThreadId 955] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.945589874 [ThreadId 957] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.945835817 [ThreadId 959] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:55.946592026 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":39,"jsonrpc":"2.0"}
2021-03-18 11:57:56.246332351 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":40}
2021-03-18 11:57:56.246525957 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":3,"character":0}},"id":41}
2021-03-18 11:57:56.246693502 [ThreadId 971] DEBUG hls: DocumentHighlight request at position 4:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:56.246717045 [ThreadId 967] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:56.24683041 [ThreadId 979] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:56.246884435 [ThreadId 975] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:56.24690091 [ThreadId 979] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:56.246988309 [ThreadId 983] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:56.246995434 [ThreadId 975] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:56.247004986 [ThreadId 984] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:56.247181118 [ThreadId 985] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:56.247286414 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":41,"jsonrpc":"2.0"}
2021-03-18 11:57:56.247508883 [ThreadId 986] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:56.247544941 [ThreadId 987] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:56.248057463 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":40,"jsonrpc":"2.0"}
2021-03-18 11:57:56.874092275 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":42}
2021-03-18 11:57:56.875270254 [ThreadId 1001] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:56.875368955 [ThreadId 1002] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:56.875516267 [ThreadId 985] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:56.875615734 [ThreadId 1001] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:56.875638822 [ThreadId 1003] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:56.875803499 [ThreadId 985] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:56.875825514 [ThreadId 1001] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:56.876066602 [ThreadId 1004] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:56.876143264 [ThreadId 1006] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:56.876347197 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":42,"jsonrpc":"2.0"}
2021-03-18 11:57:57.176957106 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":43}
2021-03-18 11:57:57.17710977 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":3,"character":0}},"id":44}
2021-03-18 11:57:57.177258815 [ThreadId 1012] DEBUG hls: DocumentHighlight request at position 4:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:57.177484953 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":44,"jsonrpc":"2.0"}
2021-03-18 11:57:57.177937258 [ThreadId 1022] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:57.178065686 [ThreadId 1024] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:57.17850896 [ThreadId 1024] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:57.178535862 [ThreadId 1007] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:57.178722378 [ThreadId 1024] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:57.178782205 [ThreadId 1007] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:57.178344665 [ThreadId 1023] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:57.178973924 [ThreadId 1028] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:57.179446114 [ThreadId 1030] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:57.179584526 [ThreadId 1032] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:57.180309068 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":43,"jsonrpc":"2.0"}
2021-03-18 11:57:58.770446574 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":45}
2021-03-18 11:57:58.771851848 [ThreadId 1047] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:58.771910848 [ThreadId 1050] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:58.771942014 [ThreadId 1049] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:58.772118107 [ThreadId 1051] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:58.772227447 [ThreadId 1050] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:58.772274815 [ThreadId 1047] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:58.772482104 [ThreadId 1049] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:58.77262655 [ThreadId 1050] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:58.772985085 [ThreadId 1052] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:58.773633328 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":45,"jsonrpc":"2.0"}
2021-03-18 11:57:59.075703736 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":46}
2021-03-18 11:57:59.076104301 [ThreadId 5] DEBUG haskell-lsp.parseOne: ---> {"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/bhrgunatha/docs/scratch/Test.hs"},"position":{"line":3,"character":0}},"id":47}
2021-03-18 11:57:59.076323053 [ThreadId 1066] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-03-18 11:57:59.07638188 [ThreadId 1070] DEBUG hls: DocumentHighlight request at position 4:1 in file: /home/bhrgunatha/docs/scratch/Test.hs
2021-03-18 11:57:59.076427188 [ThreadId 1072] INFO hls: finish: importLens (took 0.00s)
2021-03-18 11:57:59.076517743 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[],"id":47,"jsonrpc":"2.0"}
2021-03-18 11:57:59.076846605 [ThreadId 1075] INFO hls: finish: Pragmas.GetParsedModule (took 0.00s)
2021-03-18 11:57:59.076826769 [ThreadId 1077] INFO hls: finish: retrie (took 0.00s)
2021-03-18 11:57:59.077131897 [ThreadId 1078] DEBUG hls: finish: C:GetHieAst (took 0.00s)
2021-03-18 11:57:59.07736475 [ThreadId 1077] INFO hls: finish: CodeAction (took 0.00s)
2021-03-18 11:57:59.077274694 [ThreadId 1079] INFO hls: finish: splice.codeAction.GitHieAst (took 0.00s)
2021-03-18 11:57:59.077462278 [ThreadId 1078] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:59.077759072 [ThreadId 1080] INFO hls: finish: tactic (took 0.00s)
2021-03-18 11:57:59.078931975 [ThreadId 7] DEBUG haskell-lsp.sendServer: <--2--{"result":[{"title":"Apply all hints","kind":"quickfix","command":{"title":"Apply all hints","command":"140478:hlint:applyAll","arguments":["file:///home/bhrgunatha/docs/scratch/Test.hs"]}}],"id":46,"jsonrpc":"2.0"}
2021-03-18 11:57:59.078232139 [ThreadId 1082] INFO hls: finish: tactic (took 0.00s)