First class patterns and pattern matching, using type families

Latest on Hackage:

See all snapshots first-class-patterns appears in

BSD-3-Clause licensed by Reiner Pope, Brent Yorgey
Maintained by Kowainik

Module documentation for

This version can be pinned in stack with:[email protected]:4af3a72b963cdcbb5909e442abc6af4fb834d5b8ab2f61dbf1f85721c70ac584,2774


Build status Hackage

Implements patterns in Haskell as first class objects.


  • Update maintainer information.
  • #1: Add stack support.
  • #3: Add Travis CI support. Build with GHC-8.2.2 and GHC-8.4.3. (9 May 2016)

  • Allow transformers-0.5 (28 May 2015)

  • Bug fix: #3 12 May, 2014

  • Allow transformers-0.4

0.3.2: 30 July, 2013

  • Updates to compile with GHC 7.6
  • fix examples
  • reinstate tup2 as a synonym for pair
Depends on 2 packages(full list with versions):