Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Haxible.Connection
Description
This module contains the logic to interact with the python wrapper
Documentation
newtype Connections Source #
A connection run converts a TaskCall into a (result code, result value)
Constructors
TaskCall | |
Fields
|
Instances
Generic TaskCall Source # | |
Show TaskCall Source # | |
Eq TaskCall Source # | |
Hashable TaskCall Source # | |
Defined in Haxible.Connection | |
type Rep TaskCall Source # | |
Defined in Haxible.Connection type Rep TaskCall = D1 ('MetaData "TaskCall" "Haxible.Connection" "haxible-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TaskCall" 'PrefixI 'True) ((S1 ('MetaSel ('Just "playAttrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vars) :*: S1 ('MetaSel ('Just "module_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "moduleObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: (S1 ('MetaSel ('Just "taskAttrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vars) :*: S1 ('MetaSel ('Just "taskVars") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vars))))) |
withConnections :: Int -> FilePath -> (Connections -> IO ()) -> IO () Source #
Creates the Python interpreters.