0.0.2
Changes
- Nicer syntax for
refine
andrefineLit
. The type that is refined does not
need to be specified anymore. E.g. there is no need to specifyChar
in
refineLit[AnyOf[Digit :: Letter :: Whitespace :: HNil]]('F')
.
New predicates
AllOf[PS]
: conjunction of all predicates inPS
AnyOf[PS]
: disjunction of all predicates inPS
Digit
: checks if aChar
is a digitLetter
: checks if aChar
is a letterWhitespace
: checks if aChar
is white space
Count[PA, PC]
: counts the number of elements in aTraversableOnce
which satisfy the predicatePA
and passes the result to the numeric
predicatePC
MinSize[N]
: checks if the size of aTraversableOnce
is greater than
or equal toN
MaxSize[N]
: checks if the size of aTraversableOnce
is less than
or equal toN
Equal[U]
: checks if a value is equal toU
MatchesRegex[R]
: checks if aString
matches the regular expressionR
Released on 2015-05-22