The Glob package

[Tags: bsd3, library]

A library for globbing: matching patterns against file paths.


[Skip to ReadMe]

Properties

Versions0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.4, 0.5, 0.5.1, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5
Change logCHANGELOG.txt
Dependenciesbase (==4.*), containers (<0.6), directory (<1.3), dlist (>=0.4 && <0.6), filepath (>=1.1 && <1.4), transformers (>=0.2 && <0.4), Win32 (==2.*) [details]
LicenseBSD3
AuthorMatti Niemenmaa
MaintainerMatti Niemenmaa <matti.niemenmaa+glob@iki.fi>
Stabilityprovisional
CategorySystem
Home pagehttp://iki.fi/matti.niemenmaa/glob/
UploadedThu Oct 18 19:32:50 UTC 2012 by MattiNiemenmaa
DistributionsDebian:0.7.5, FreeBSD:0.7.5, LTSHaskell:0.7.5, NixOS:0.7.5, Stackage:0.7.5
Downloads19101 total (505 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for Glob-0.7.2

This is Glob, a Haskell library for globbing, i.e. pattern matching file paths
akin to the POSIX glob() function. Haddock documentation is included, and can
be built with the 'cabal haddock' command. Basic usage info is repeated below:

Matching pattern (a String) against filepath (a FilePath):

	match (compile pattern) filepath

Matching a pattern against all paths in the current working directory:

	glob pattern

Matching a pattern against all paths in a given directory (a FilePath):

	globDir1 (compile pattern) directorypath

Matching a list of patterns against all paths in a given directory, returning
the matches for each pattern as well as the paths not matched by any of the
patterns:

	globDir (map compile patterns) directorypath