Copyright | Andrew G. Seniuk 2014-2015 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Andrew Seniuk <rasfar@gmail.com> |
Stability | provisional |
Portability | portable (H98) |
Safe Haskell | None |
Language | Haskell2010 |
This is normally part of Pattern, but is broken out for the transitional version 0.6.*.
Documentation
compilePat :: String -> Pattern Source
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.