File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
lsp-types/src/Language/LSP/Types Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ typescript definitions laid out in the specification
24
24
- [ haskell-language-server] ( https://github.com/haskell/haskell-language-server )
25
25
- [ dhall-lsp-server] ( https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme )
26
26
- [ swarm] ( https://github.com/byorgey/swarm/blob/main/src/Swarm/Language/LSP.hs )
27
+ - [ curry-language-server] ( https://github.com/fwcd/curry-language-server )
27
28
28
29
## Example language servers
29
30
There are two example language servers in the ` lsp/example/ ` folder. ` Simple.hs ` provides a minimal example:
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ instance ToJSON SomeRegistration where
138
138
instance FromJSON SomeRegistration where
139
139
parseJSON = withObject " Registration" $ \ o -> do
140
140
SomeClientMethod m <- o .: " method"
141
- r <- Registration <$> o .: " id" <*> pure m <*> regHelper m (o .: " registerOptions" )
141
+ r <- Registration <$> o .: " id" <*> pure m <*> regHelper m (o .:? " registerOptions" )
142
142
pure (SomeRegistration r)
143
143
144
144
instance Eq SomeRegistration where
You can’t perform that action at this time.
0 commit comments