Skip to content

Commit fc6a537

Browse files
committed
Add @bubba editorial part to the changelog
(using vscode livecode thing)
1 parent 7ac7b5d commit fc6a537

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

ChangeLog.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,46 @@
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

0 commit comments

Comments
 (0)