Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Documentation
type HsEvalResultConstraint a = Typeable a #
type ExtraPackages = Set Package #
type BareHints = [GhcArgument] #
type ExtraPackageDbs = [PackageDbPath] #
type DefaultExtensions = Set HaskellExtension #
newtype PackageDbPath #
Instances
IsString PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types fromString :: String -> PackageDbPath # | |
Monoid PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types mempty :: PackageDbPath # mappend :: PackageDbPath -> PackageDbPath -> PackageDbPath # mconcat :: [PackageDbPath] -> PackageDbPath # | |
Semigroup PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types (<>) :: PackageDbPath -> PackageDbPath -> PackageDbPath # sconcat :: NonEmpty PackageDbPath -> PackageDbPath # stimes :: Integral b => b -> PackageDbPath -> PackageDbPath # | |
Show PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types showsPrec :: Int -> PackageDbPath -> ShowS # show :: PackageDbPath -> String # showList :: [PackageDbPath] -> ShowS # | |
Eq PackageDbPath # | |
Defined in Napkin.HaskellInterpreter.Types (==) :: PackageDbPath -> PackageDbPath -> Bool # (/=) :: PackageDbPath -> PackageDbPath -> Bool # |
Module | |
|
data ModuleFunction #
Instances
FromJSON ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types parseJSON :: Value -> Parser ModuleFunction # parseJSONList :: Value -> Parser [ModuleFunction] # | |
Show ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types showsPrec :: Int -> ModuleFunction -> ShowS # show :: ModuleFunction -> String # showList :: [ModuleFunction] -> ShowS # | |
Eq ModuleFunction # | |
Defined in Napkin.HaskellInterpreter.Types (==) :: ModuleFunction -> ModuleFunction -> Bool # (/=) :: ModuleFunction -> ModuleFunction -> Bool # |
newtype GhcArgument #
Instances
IsString GhcArgument # | |
Defined in Napkin.HaskellInterpreter.Types fromString :: String -> GhcArgument # | |
Show GhcArgument # | |
Defined in Napkin.HaskellInterpreter.Types showsPrec :: Int -> GhcArgument -> ShowS # show :: GhcArgument -> String # showList :: [GhcArgument] -> ShowS # | |
Eq GhcArgument # | |
Defined in Napkin.HaskellInterpreter.Types (==) :: GhcArgument -> GhcArgument -> Bool # (/=) :: GhcArgument -> GhcArgument -> Bool # |
type InterpreterResponseVar a = TMVar (InterpreterResponse a) #
type InterpreterError = InterpreterError #
type InterpreterResponse a = Either InterpreterError a #
data InterpreterRequest #
EvalRequest | |
LoadModules | |
| |
UpdateEnvironment | |
Stop | |
Restart |
Instances
Show InterpreterRequest # | |
Defined in Napkin.HaskellInterpreter.Types showsPrec :: Int -> InterpreterRequest -> ShowS # show :: InterpreterRequest -> String # showList :: [InterpreterRequest] -> ShowS # | |
Eq InterpreterRequest # | |
Defined in Napkin.HaskellInterpreter.Types (==) :: InterpreterRequest -> InterpreterRequest -> Bool # (/=) :: InterpreterRequest -> InterpreterRequest -> Bool # |
data InterpreterEnvironment #
Instances
Show InterpreterEnvironment # | |
Defined in Napkin.HaskellInterpreter.Types showsPrec :: Int -> InterpreterEnvironment -> ShowS # show :: InterpreterEnvironment -> String # showList :: [InterpreterEnvironment] -> ShowS # | |
Eq InterpreterEnvironment # | |
Defined in Napkin.HaskellInterpreter.Types |
data InterpreterInstance #
newtype HaskellExpression a #
Orphan instances
Eq InterpreterError # | |
(==) :: InterpreterError -> InterpreterError -> Bool # (/=) :: InterpreterError -> InterpreterError -> Bool # |