THSH-0.0.0.5: A "noDSL" approach to mixing shell scripting with Haskell programs using Template Haskell
Copyright(c) Miao ZhiCheng 2024
LicenseMIT
Maintainerzhicheng.miao@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageGHC2021

THSH.Script

Description

 
Synopsis

Documentation

data Script Source #

A script contains shell source code and a list of other funclets it depends on.

Constructors

MkScript 

Fields

Instances

Instances details
Funclet Script Source #

The Script instance of Funclet.

Instance details

Defined in THSH.Script

genFuncletPipeCode :: Int -> String Source #

The piping code snippet that should substitute the funclet occurrences during quasi quoting.

sh :: Script -> Script Source #

The marker for the thsh quasi-quote to recognize a Script.