| Copyright | (c) Soostone Inc 2020 |
|---|---|
| License | AllRightsReserved |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Napkin.HaskellInterpreter.Types
Contents
Description
Documentation
type HsEvalResultConstraint a = Typeable a #
type ExtraPackages = [Package] #
type BareHints = [GhcArgument] #
type ExtraPackageDbs = [PackageDbPath] #
type DefaultExtensions = [HaskellExtension] #
newtype PackageDbPath #
Constructors
| PackageDbPath | |
Instances
| Eq PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types Methods (==) :: PackageDbPath -> PackageDbPath -> Bool # (/=) :: PackageDbPath -> PackageDbPath -> Bool # | |
| Show PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types Methods showsPrec :: Int -> PackageDbPath -> ShowS # show :: PackageDbPath -> String # showList :: [PackageDbPath] -> ShowS # | |
| IsString PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types Methods fromString :: String -> PackageDbPath # | |
Constructors
| Package | |
Fields
| |
Constructors
| Module | |
Fields
| |
Constructors
| Function | |
Fields
| |
data ModuleFunction #
Constructors
| ModuleFunction | |
Instances
| Eq ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types Methods (==) :: ModuleFunction -> ModuleFunction -> Bool # (/=) :: ModuleFunction -> ModuleFunction -> Bool # | |
| Show ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types Methods showsPrec :: Int -> ModuleFunction -> ShowS # show :: ModuleFunction -> String # showList :: [ModuleFunction] -> ShowS # | |
| ToJSON ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types Methods toJSON :: ModuleFunction -> Value # toEncoding :: ModuleFunction -> Encoding # toJSONList :: [ModuleFunction] -> Value # toEncodingList :: [ModuleFunction] -> Encoding # | |
| FromJSON ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types Methods parseJSON :: Value -> Parser ModuleFunction # parseJSONList :: Value -> Parser [ModuleFunction] # | |
newtype GhcArgument #
Constructors
| GhcArgument | |
Fields
| |
Instances
| Eq GhcArgument # | |
Defined in Napkin.HaskellInterpreter.Types | |
| Show GhcArgument # | |
Defined in Napkin.HaskellInterpreter.Types Methods showsPrec :: Int -> GhcArgument -> ShowS # show :: GhcArgument -> String # showList :: [GhcArgument] -> ShowS # | |
| IsString GhcArgument # | |
Defined in Napkin.HaskellInterpreter.Types Methods fromString :: String -> GhcArgument # | |
type InterpreterResponseVar a = TMVar (InterpreterResponse a) #
type InterpreterError = InterpreterError #
type InterpreterResponse a = Either InterpreterError a #
data InterpreterRequest #
Constructors
| EvalRequest | |
Fields | |
| LoadModules | |
Fields
| |
| UpdateEnvironment | |
Fields | |
| Stop | |
| Restart | |
Instances
| Eq InterpreterRequest # | |
Defined in Napkin.HaskellInterpreter.Types Methods (==) :: InterpreterRequest -> InterpreterRequest -> Bool # (/=) :: InterpreterRequest -> InterpreterRequest -> Bool # | |
| Show InterpreterRequest # | |
Defined in Napkin.HaskellInterpreter.Types Methods showsPrec :: Int -> InterpreterRequest -> ShowS # show :: InterpreterRequest -> String # showList :: [InterpreterRequest] -> ShowS # | |
data InterpreterEnvironment #
Constructors
| InterpreterEnvironment | |
Instances
| Eq InterpreterEnvironment # | |
Defined in Napkin.HaskellInterpreter.Types Methods (==) :: InterpreterEnvironment -> InterpreterEnvironment -> Bool # (/=) :: InterpreterEnvironment -> InterpreterEnvironment -> Bool # | |
| Show InterpreterEnvironment # | |
Defined in Napkin.HaskellInterpreter.Types Methods showsPrec :: Int -> InterpreterEnvironment -> ShowS # show :: InterpreterEnvironment -> String # showList :: [InterpreterEnvironment] -> ShowS # | |
data InterpreterInstance #
Constructors
| InterpreterInstance | |
Fields | |
newtype HaskellExpression a #
Constructors
| HaskellExpression String |
Orphan instances
| Eq InterpreterError # | |
Methods (==) :: InterpreterError -> InterpreterError -> Bool # (/=) :: InterpreterError -> InterpreterError -> Bool # | |