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