| Copyright | (c) Miao ZhiCheng 2024 |
|---|---|
| License | MIT |
| Maintainer | zhicheng.miao@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
THSH.Funclet
Description
Synopsis
- class Funclet f where
- data AnyFunclet = forall f.Funclet f => MkAnyFunclet f
- runFuncletWithStdHandles :: Funclet f => f -> IO ExitCode
Documentation
class Funclet f where Source #
A funclet is an IO process that communicates through handles and returns an exit code.
Instances
| Funclet AnyFunclet Source # | |
Defined in THSH.Funclet Methods runFunclet :: AnyFunclet -> (ExitCode -> IO ()) -> IO (Handle, Handle, Handle) Source # | |
| Funclet Script Source # | |
data AnyFunclet Source #
Existential wrapper of any funclet.
Constructors
| forall f.Funclet f => MkAnyFunclet f |
Instances
| Funclet AnyFunclet Source # | |
Defined in THSH.Funclet Methods runFunclet :: AnyFunclet -> (ExitCode -> IO ()) -> IO (Handle, Handle, Handle) Source # | |