From 41839753a15b50e0d37247aaadcc1c3a3e852226 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 21 Apr 2021 08:35:24 +0100 Subject: dev-haskell/filepattern: new package, a depend of hlint-3 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich --- dev-haskell/filepattern/metadata.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dev-haskell/filepattern/metadata.xml (limited to 'dev-haskell/filepattern/metadata.xml') diff --git a/dev-haskell/filepattern/metadata.xml b/dev-haskell/filepattern/metadata.xml new file mode 100644 index 000000000000..9b145f120dc0 --- /dev/null +++ b/dev-haskell/filepattern/metadata.xml @@ -0,0 +1,26 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + A library for matching files using patterns such as @\"src\/**\/*.png\"@ for all @.png@ files + recursively under the @src@ directory. Features: + + * All matching is /O(n)/. + + * See "System.FilePattern" and @?==@ simple matching and semantics. + + * Use @match@ and @substitute@ to extract suitable + strings from the @*@ and @**@ matches, and substitute them back into other patterns. + + * Use @step@ and @matchMany@ to perform bulk matching + of many patterns against many paths simultaneously. + + * Use "System.FilePattern.Directory" to perform optimised directory traverals using patterns. + + Originally taken from the <https://hackage.haskell.org/package/shake Shake library>. + + -- cgit v1.2.3-65-gdbad