THSH 0.0.0.1 → 0.0.0.2
raw patch · 5 files changed
+44/−1 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- THSH.cabal +5/−1
- src/THSH/Fn.hs +9/−0
- src/THSH/Funclet.hs +10/−0
- src/THSH/QQ.hs +11/−0
- src/THSH/Script.hs +9/−0
THSH.cabal view
@@ -20,7 +20,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.0.0.1+version: 0.0.0.2 -- A short (one-line) description of the package. synopsis: A "noDSL" approach to mixing shell scripting with Haskell programs using Template Haskell@@ -47,6 +47,10 @@ -- Extra doc files to be distributed with the package, such as a CHANGELOG or a README. extra-doc-files: CHANGELOG.md++source-repository head+ type: git+ location: https://github.com/hellwolf/THSH -- Extra source files to be distributed with the package, such as examples, or a tutorial module. -- extra-source-files:
src/THSH/Fn.hs view
@@ -1,3 +1,12 @@+{-|+Module : THSH.Fn+Description : Fn funclets are Haskell functions that talk with other funclets including the main shell script.+Copyright : (c) Miao ZhiCheng, 2024+License : MIT+Maintainer : zhicheng.miao@gmail.com+Stability : experimental+Portability : POSIX+-} module THSH.Fn ( ContentFn (..), stringContentFn, stringContentIOFn, textContentFn, textContentIOFn , LineReadFn (..), lineReadFn
src/THSH/Funclet.hs view
@@ -1,3 +1,13 @@+{-|+Module : THSH.Funclet+Description : Funclet definition.+Copyright : (c) Miao ZhiCheng, 2024+License : MIT+Maintainer : zhicheng.miao@gmail.com+Stability : experimental+Portability : POSIX+-}+ module THSH.Funclet ( Funclet (..) , AnyFunclet (..)
src/THSH/QQ.hs view
@@ -1,3 +1,14 @@+{-|+Module : THSH.QQ+Description : Template Haskell qausi-quote machinary, heavily using code from PyF package.+Copyright : (c) Miao ZhiCheng, 2024+License : MIT+Maintainer : zhicheng.miao@gmail.com+Stability : experimental+Portability : POSIX+-}++ {-# LANGUAGE TemplateHaskellQuotes #-} module THSH.QQ
src/THSH/Script.hs view
@@ -1,3 +1,12 @@+{-|+Module : THSH.Script+Description : Script funclet create a system process for the shell script.+Copyright : (c) Miao ZhiCheng, 2024+License : MIT+Maintainer : zhicheng.miao@gmail.com+Stability : experimental+Portability : POSIX+-} {-# LANGUAGE QuasiQuotes #-} module THSH.Script ( Script (..)