0.4.0 introduces the import lens plugin, which can convert your import statements into qualified imports, or into an explicit import list:
The eval plugin has also learnt two new commands, :type
and :kind
:
{-# LANGUAGE TypeApplications #-}
foo :: Show a => a -> String
foo = show
-- >>> :type foo @Int
-- foo @Int :: Int -> String
-- >>> :type +v foo @Int
-- foo @Int :: Show Int => Int -> String
-- >>> type N = 1
-- >>> type M = 40
-- >>> :kind N + M + 1
-- N + M + 1 :: Nat
-- >>> type N = 1
-- >>> type M = 40
-- >>> :kind N + M + 1
-- N + M + 1 :: Nat
There is now also support for GHC 8.10.2, and a new haskell-language-server --probe-tools
command to help debug what version of each tool HLS is using.
$ haskell-language-server --probe-tools
haskell-language-server version: 0.3.0.0 (GHC: 8.10.1) (PATH: /Users/luke/.cabal/store/ghc-8.10.1/hskll-lngg-srvr-0.3.0.0-7c6d48c3/bin/haskell-language-server)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: 2.3.3
ghc: 8.10.2
Pull requests merged
- Bring over https://github.com/pepeiborra/hls-tutorial
(#372 by @bubba) - Update the ghcide upstream to be in haskell/ghcide
(#370 by @alanz) - Add ISSUE_TEMPLATE for github
(#305 by @fendor) - Add use-package to the list of emacs packages
(#343 by @rgleichman) - Implements
:type [+v/+d]
in Eval Plugin
(#361 by @konn) - Bump bounds of hie-bios to 0.7.0
(#357 by @maralorn) - Fix ImportLens plugin to work with GHC 8.10
(#356 by @Ailrun) - Add single file rewrites and ignore unknown files
(#321 by @pepeiborra) - Do not suggest explicit import lists for qualified imports
(#354 by @expipiplus1) - Explicit imports lens (as seen on Twitter)
(#310 by @pepeiborra) - Adds
:kind
and:kind!
commands to Eval Plugin
(#345 by @konn) - tech(nix): update niv and remove allowbroken
(#350 by @willbush) - Update VS Code Haskell URL/repo
(#338 by @sir4ur0n) - doc(hack): Add explanation to hack and test HLS
(#329 by @sir4ur0n) - Apply the module pragmas for evaluation
(#322 by @pepeiborra) - Copy working stack-8.6.5.yaml to stack.yaml
(#332 by @jneira) - tech(nix): Allow broken as retrie is marked as broken
(#331 by @sir4ur0n) - feat(git): Add install/hie.yaml to gitignore
(#328 by @sir4ur0n) - Replace wrong occurrences of "engine" by "server"
(#319 by @tchoutri) - Simplify coc.nvim instructions
(#315 by @oblitum) - Coc config file requires a {} nesting everything
(#317 by @hyiltiz) - Restrict opentelemetry version for stack builds
(#312 by @jneira) - Add support for ghc-8.10.2
(#308 by @jneira) - Return nothing if tool is not on the PATH
(#309 by @fendor) - Probe tools cli
(#306 by @fendor) - Add fourmolu plugin (attempt 2) and add Brittany for ghc-8.10.1
(#264 by @georgefst)