is

Generic pattern predicates

Latest on Hackage:0.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Víctor López Juan

Generate predicates of type (t → Bool) from constructors or patterns of type t. Uses either Template Haskell or instances of Generic or Typeable. Generating predicates from arbitrary patterns requires TH.

Changes

-*-change-log-*-

2017-02-01 Víctor López Juan <victor@lopezjuan.com>
* Version 0.4
* Add stack support
* Test for GHC 7.8.4, 7.10.3, 8.0.1
* Compile with -Werror

2014-11-23 Víctor López Juan <victor@lopezjuan.com>
* Version 0.2
* Declare predicates from constructors of a data type

2014-11-20 Víctor López Juan <victor@lopezjuan.com>
* Version 0.1
* Implement functions 'is(Not)?P?'
* A few test cases
* Short documentation
Used by 1 package:
comments powered byDisqus