Popularity
4.6
Growing
Activity
0.0
-
2
4
2
Monthly Downloads: 216
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Development
FilePath
Latest version: v0.1.2
filepattern alternatives and similar packages
Based on the "Development" category.
Alternatively, view filepattern alternatives based on common mentions on social networks and blogs.
-
hadolint
Dockerfile linter, validate inline bash, written in Haskell -
stgi
A user-centric visual STG implementation to help understand GHC/Haskell's execution model. -
retrie
Retrie is a powerful, easy-to-use codemodding tool for Haskell. -
haskell-lsp
Haskell library for the Microsoft Language Server Protocol -
criterion
A powerful but simple library for measuring the performance of Haskell code. -
structured-haskell-mode
Structured editing minor mode for Haskell in Emacs -
cabal-install-parsers
Scripts and instructions for using CI services (e.g. Travis CI or Appveyor) with multiple GHC configurations -
inline-c
Write Haskell source files including C code inline. No FFI required. -
inline-java
Haskell/Java interop via inline Java code in Haskell modules. -
gi-atk
Generate Haskell bindings for GObject-Introspection capable libraries -
fourmolu
A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome! -
lambdabot
A friendly IRC bot and apprentice coder, written in Haskell. -
lambdabot-core
A friendly IRC bot and apprentice coder, written in Haskell. -
scion
OLD, DEPRECATED: Use this instead https://github.com/haskell/haskell-ide-engine -
threadscope
A graphical tool for profiling parallel Haskell programs
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of filepattern or a related project?
Popular Comparisons
README
FilePattern

A library for matching files using patterns such as src/**/*.png
for all .png
files recursively under the src
directory. There are two special forms:
*
matches part of a path component, excluding any separators.**
as a path component matches an arbitrary number of path components.
Some examples:
test.c
matchestest.c
and nothing else.*.c
matches all.c
files in the current directory, sofile.c
matches, butfile.h
anddir/file.c
don't.**/*.c
matches all.c
files anywhere on the filesystem, sofile.c
,dir/file.c
,dir1/dir2/file.c
and/path/to/file.c
all match, butfile.h
anddir/file.h
don't.dir/*/*
matches all files one level belowdir
, sodir/one/file.c
anddir/two/file.h
match, butfile.c
,one/dir/file.c
,dir/file.h
anddir/one/two/file.c
don't.
More complete semantics are given in the documentation for the matching function ?==
.
Features
- All matching is O(n). Most functions precompute some information given only one argument. There are also functions to provide bulk matching of many patterns against many paths simultaneously, see
step
andmatchMany
. - You can obtain the parts that matched the
*
and**
special forms usingmatch
, and substitute them into other patterns usingsubstitute
. - You can search for files using a minimal number of IO operations, using the System.FilePattern.Directory module.
Related work
- Another Haskell file pattern matching library is Glob, which aims to be closer to the POSIX
glob()
function, with forms such as*
,?
,**/
(somewhat different to thefilepattern
equivalent) and[:alpha:]
. A complete guide is in the documentation. Compared tofilepattern
, theGlob
library is closer to a regular expression library - definitely more powerful, potentially harder to use. - The
shake
library has contained aFilePattern
type since the beginning. This library evolved from that code, with significant improvements. - The semantics are heavily inspired by VS Code, Git and the NPM package Glob.