packages feed

haskell-lsp 0.2.0.0 → 0.2.0.1

raw patch · 3 files changed

+11/−4 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Language.Haskell.LSP.TH.DataTypesJSON: instance Data.Foldable.Foldable Language.Haskell.LSP.TH.DataTypesJSON.List
+ Language.Haskell.LSP.TH.DataTypesJSON: instance Data.Traversable.Traversable Language.Haskell.LSP.TH.DataTypesJSON.List

Files

ChangeLog.md view
@@ -1,6 +1,12 @@ # Revision history for haskell-lsp -## 0.1.0.0  -- 2017-07-19+## 0.2.0.1  -- 2017-12-27++* Built with LTS 10.1 (stack)+* Don't escape semicolons after drive letters by @nponeccop+* Add Foldable and Traversable instance to List by @noughtmare++## 0.2.0.0  -- 2017-11-23  * Major changes as implementation continued. Now seems stable, used in haskell-ide-engine 
haskell-lsp.cabal view
@@ -1,5 +1,5 @@ name:                haskell-lsp-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Haskell library for the Microsoft Language Server Protocol  description:         An implementation of the types, and basic message server to
src/Language/Haskell/LSP/TH/DataTypesJSON.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE DeriveGeneric              #-}+{-# LANGUAGE DeriveTraversable          #-} {-# LANGUAGE DuplicateRecordFields      #-} {-# LANGUAGE FlexibleInstances          #-} {-# LANGUAGE FunctionalDependencies     #-}@@ -31,7 +32,7 @@ -- | This data type is used to host a FromJSON instance for the encoding used by -- elisp, where an empty list shows up as "null" newtype List a = List [a]-                deriving (Show,Read,Eq,Monoid,Functor)+                deriving (Show,Read,Eq,Monoid,Functor,Foldable,Traversable)  instance (A.ToJSON a) => A.ToJSON (List a) where   toJSON (List ls) = toJSON ls@@ -62,7 +63,7 @@  filePathToUri :: FilePath -> Uri filePathToUri (drive:':':rest) =-  Uri $ T.pack $ concat ["file:///", [toLower drive], "%3A", fmap convertDelim rest]+  Uri $ T.pack $ concat ["file:///", [toUpper drive], ":", fmap convertDelim rest]   where     convertDelim '\\' = '/'     convertDelim c = c