unicode-general-category-0.1.0.0: Unicode General Category Database
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Char.GeneralCategory.Predicates

Synopsis

Documentation

data Predicates i Source #

A set of predicate functions related to GeneralCategory queries. You can either destruct at top level or locally to get access to each of them.

Constructors

Predicates 

Fields

Instances

Instances details
Contravariant Predicates Source # 
Instance details

Defined in Data.Char.GeneralCategory.Predicates

Methods

contramap :: (a -> b) -> Predicates b -> Predicates a #

(>$) :: b -> Predicates b -> Predicates a #

predicates :: Predicates GeneralCategory Source #

A set of functions similiar to their counterparts found in Data.Char but takes GeneralCategory as argument.

mkPredicates :: (Char -> GeneralCategory) -> Predicates Char Source #

Takes a function that is equivalent to generalCategory and returns the set of functions equivalent to those found in Data.Char, but with the argument function serving instead.