lsp-types-2.0.0.1: Haskell library for the Microsoft Language Server Protocol, data types
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.LSP.Protocol.Utils.Misc

Synopsis

Documentation

rdrop :: Int -> [a] -> [a] Source #

makeSingletonFromJSON :: Name -> Name -> [Name] -> Q [Dec] Source #

Given a wrapper and a singleton GADT, construct FromJSON instances for each constructor return type by invoking the FromJSON instance for the wrapper and unwrapping

lspOptions :: Options Source #

Standard options for use when generating JSON instances NOTE: This needs to be in a separate file because of the TH stage restriction

lspOptionsUntagged :: Options Source #

Standard options for use when generating JSON instances for an untagged union