Module

PscIde.Command

Package
purescript-psc-ide
Repository
kRITZCREEK/purescript-psc-ide

#filterWrapper Source

filterWrapper :: forall a. EncodeJson a => String -> a -> Json

#jsonSingletonObject' Source

jsonSingletonObject' :: forall a. EncodeJson a => String -> a -> Json

#CompletionOptions Source

newtype CompletionOptions

Constructors

Instances

#Namespace Source

#FileName Source

#commandWrapper Source

commandWrapper :: forall a. EncodeJson a => String -> a -> Json

#encodeMaybeNull Source

encodeMaybeNull :: forall a. EncodeJson a => Maybe a -> Json

#Result Source

type Result a = Either String a

#GenCompletion Source

type GenCompletion :: Row Type -> Typetype GenCompletion a = { identifier :: String, module' :: String, type' :: String | a }

#TypePosition Source

newtype TypePosition

Constructors

Instances

#TypeInfo Source

newtype TypeInfo

Constructors

Instances

#PursuitCompletion Source

newtype PursuitCompletion

Constructors

Instances

#ModuleList Source

newtype ModuleList

Constructors

Instances

#Message Source

newtype Message

Constructors

Instances

#ImportList Source

newtype ImportList

Constructors

Instances

#Import Source

newtype Import

Constructors

Instances

#Position Source

type Position = { column :: Int, line :: Int }

#RangePosition Source

type RangePosition = { endColumn :: Int, endLine :: Int, startColumn :: Int, startLine :: Int }

#RebuildError Source

newtype RebuildError

Constructors

Instances

#PscSuggestion Source

newtype PscSuggestion

Constructors

#PursIdeInfo Source

newtype PursIdeInfo

Constructors

#unwrapResponse Source

unwrapResponse :: forall a b. DecodeJson a => DecodeJson b => String -> Either String (Either a b)