haskell-language-server-2.9.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Experiments

Synopsis

Documentation

data Bench Source #

Constructors

Bench 

Fields

data Config Source #

Instances

Instances details
Show Config Source # 
Instance details

Defined in Experiments.Types

Eq Config Source # 
Instance details

Defined in Experiments.Types

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

data Verbosity Source #

Constructors

Quiet 
Normal 
All 

Instances

Instances details
Show Verbosity Source # 
Instance details

Defined in Experiments.Types

Eq Verbosity Source # 
Instance details

Defined in Experiments.Types

data CabalStack Source #

Constructors

Cabal 
Stack 

Instances

Instances details
Show CabalStack Source # 
Instance details

Defined in Experiments.Types

Eq CabalStack Source # 
Instance details

Defined in Experiments.Types

data SetupResult Source #

Constructors

SetupResult 

Fields

data Example Source #

Instances

Instances details
FromJSON Example Source # 
Instance details

Defined in Experiments.Types

Generic Example Source # 
Instance details

Defined in Experiments.Types

Associated Types

type Rep Example :: Type -> Type #

Methods

from :: Example -> Rep Example x #

to :: Rep Example x -> Example #

Show Example Source # 
Instance details

Defined in Experiments.Types

Binary Example Source # 
Instance details

Defined in Experiments.Types

Methods

put :: Example -> Put #

get :: Get Example #

putList :: [Example] -> Put #

NFData Example Source # 
Instance details

Defined in Experiments.Types

Methods

rnf :: Example -> () #

Eq Example Source # 
Instance details

Defined in Experiments.Types

Methods

(==) :: Example -> Example -> Bool #

(/=) :: Example -> Example -> Bool #

Hashable Example Source # 
Instance details

Defined in Experiments.Types

Methods

hashWithSalt :: Int -> Example -> Int #

hash :: Example -> Int #

type Rep Example Source # 
Instance details

Defined in Experiments.Types

type Rep Example = D1 ('MetaData "Example" "Experiments.Types" "haskell-language-server-2.9.0.0-4S5Vh3BPyyeJWzPv4aazqb-ghcide-bench-lib" 'False) (C1 ('MetaCons "Example" 'PrefixI 'True) ((S1 ('MetaSel ('Just "exampleName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String) :*: S1 ('MetaSel ('Just "exampleDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExampleDetails)) :*: (S1 ('MetaSel ('Just "exampleModules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: S1 ('MetaSel ('Just "exampleExtraArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))))

experiments :: HasConfig => [Bench] Source #

output :: (MonadIO m, HasConfig) => String -> m () Source #

setup :: HasConfig => IO SetupResult Source #

Setup the benchmark we need to create a hie.yaml file for the examples or the hie.yaml file would be searched in the parent directories recursively implicit-hie is error prone for the example test `lsp-types-2.1.1.0` we are using the simpleCabalCradleContent for the hie.yaml file instead. it works if we have cabal > 3.2.