Safe Haskell | None |
---|---|
Language | Haskell98 |
Language.PureScript.Ide.Types
Documentation
type ModuleIdent = Text Source
data ExternDecl Source
Constructors
FunctionDecl DeclIdent Type | A function/value declaration |
FixityDeclaration Fixity Int DeclIdent | |
Dependency ModuleIdent [Text] (Maybe Text) | A Dependency onto another Module |
ModuleDecl ModuleIdent [DeclIdent] | A module declaration |
DataDecl DeclIdent Text | A data/newtype declaration |
Export ModuleIdent | An exported module |
Instances
type Module = (ModuleIdent, [ExternDecl]) Source
data Configuration Source
Constructors
Configuration | |
Fields
|
data PscIdeEnvironment Source
Constructors
PscIdeEnvironment | |
Fields |
type PscIde m = (MonadIO m, MonadReader PscIdeEnvironment m) Source
newtype Completion Source
Constructors
Completion (ModuleIdent, DeclIdent, Type) |
encodeSuccess :: ToJSON a => a -> Value Source
data PursuitSearchType Source
Constructors
Package | |
Identifier |
data PursuitResponse Source
Constructors
ModuleResponse ModuleIdent Text | A Pursuit Response for a module. Consists of the modules name and the package it belongs to |
DeclarationResponse Type ModuleIdent DeclIdent Text | A Pursuit Response for a declaration. Consist of the declarations type, module, name and package |