Skip to content

Commit 5870c5e

Browse files
committed
Add @bubba editorial part to the changelog
(using vscode livecode thing)
1 parent 0b40356 commit 5870c5e

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

ChangeLog.md

+44
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,53 @@
22

33
## 0.4.0
44

5+
0.4.0 introduces the import lens plugin, which can convert your import statements into qualified imports, or into an explicit import list:
6+
7+
![Imports code lens](https://imgur.com/pX9kvY4.gif)
8+
9+
The eval plugin has also learnt two new commands, `:type` and `:kind`:
10+
11+
```haskell
12+
{-# LANGUAGE TypeApplications #-}
13+
foo :: Show a => a -> String
14+
foo = show
15+
16+
-- >>> :type foo @Int
17+
-- foo @Int :: Int -> String
18+
19+
-- >>> :type +v foo @Int
20+
-- foo @Int :: Show Int => Int -> String
21+
```
22+
23+
```haskell
24+
-- >>> type N = 1
25+
-- >>> type M = 40
26+
-- >>> :kind N + M + 1
27+
-- N + M + 1 :: Nat
28+
29+
-- >>> type N = 1
30+
-- >>> type M = 40
31+
-- >>> :kind N + M + 1
32+
-- N + M + 1 :: Nat
33+
```
34+
35+
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.
36+
37+
```
38+
$ haskell-language-server --probe-tools
39+
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)
40+
Tool versions found on the $PATH
41+
cabal: 3.2.0.0
42+
stack: 2.3.3
43+
ghc: 8.10.2
44+
```
545

646
### Pull requests merged
747

48+
- Bring over https://github.com/pepeiborra/hls-tutorial
49+
([#372](https://github.com/haskell/haskell-language-server/pull/372) by @bubba)
50+
- Update the ghcide upstream to be in haskell/ghcide
51+
([#370](https://github.com/haskell/haskell-language-server/pull/370) by @alanz)
852
- Add ISSUE_TEMPLATE for github
953
([#305](https://github.com/haskell/haskell-language-server/pull/305) by @fendor)
1054
- Add use-package to the list of emacs packages

0 commit comments

Comments
 (0)