deepseq-bounded-0.6.0.0: Bounded deepseq, including support for generic deriving

CopyrightAndrew G. Seniuk 2014-2015
LicenseBSD-style (see the file LICENSE)
MaintainerAndrew Seniuk <rasfar@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Control.DeepSeq.Bounded.Compile

Description

This is normally part of Pattern, but is broken out for the transitional version 0.6.*.

Synopsis

Documentation

showPat :: Pattern -> String Source

Inverse of compilePat.

showPat . compilePat patstring  =  patstring

(up to optional whitespace, and canonical ordering of any attributes), provided that compilePat patstring succeeds. (And, only up to subpatterns elided from # (WI or TI) or from * (WW, WN, TW, or TN) nodes, in case these are still accepted by the parser!)