file-command-qq
file-command-qq is a simple quasiquoter for running system commands that take a filepath as an argument. For instance will return You can think of [s|echo $filename|] essentially converts into Here is another example All "file parts" start with a '$'. The '$' can be escaped by preceding it with a '\' There are the following options for "file parts" $path $root $directory $parent $filename $dirname $basename $ext Which correspond to the respective functions in https://hackage.haskell.org/package/system-filepath-0.4.6/docs/Filesystem-Path.html#g:1
Ecosystem
hackage.haskell.org
hackage.haskell.org
Latest Release
about 11 years ago
0.1.0.5
about 11 years ago
Versions
6
6
Downloads
4,518 total
4,518 total
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/file-command-qq
spec |
| License | MIT |
| First Release | over 11 years ago |
| Last Synced | 1 day ago |
Repository
| Stars | 2 on GitHub |
| Forks | 1 on GitHub |