cli-utils-4.1.0
LicenseBSD3
Maintainertbidne@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Git.Stale.Types.Filtered

Description

 
Synopsis

Documentation

data Filtered a Source #

Type-safe way to guarantee a list has been filtered.

Instances

Instances details
Show a => Show (Filtered a) Source # 
Instance details

Defined in Git.Stale.Types.Filtered

Methods

showsPrec :: Int -> Filtered a -> ShowS #

show :: Filtered a -> String #

showList :: [Filtered a] -> ShowS #

mkFiltered :: (a -> Bool) -> [a] -> Filtered a Source #

Constructs Filtered based on filter function.

unFiltered :: Filtered a -> [a] Source #

Unwraps a Filtered.