diff options
author | Dr. ERDI Gergo <gergo@erdi.hu> | 2014-11-20 22:38:11 +0800 |
---|---|---|
committer | Dr. ERDI Gergo <gergo@erdi.hu> | 2014-11-20 22:38:11 +0800 |
commit | cce6318e8fdb086a8501a0c81ae1ee02eed67835 (patch) | |
tree | f9257e7f86fa47c73e22951fdb1471310d252504 /utils | |
parent | 3b81309c057fc216afa053d195aaa85ee3a1ba9e (diff) | |
download | haskell-cce6318e8fdb086a8501a0c81ae1ee02eed67835.tar.gz |
Add support for pattern synonym type signatures.
Syntax is of the form
pattern P :: (Prov b) => (Req a) => a -> b -> Int -> T a
which declares a pattern synonym called `P`, with argument types `a`, `b`,
and `Int`, and result type `T a`, with provided context `(Prov b)` and required
context `(Req a)`.
The Haddock submodule is also updated to use this new syntax in generated docs.
Diffstat (limited to 'utils')
m--------- | utils/haddock | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/utils/haddock b/utils/haddock -Subproject 9cdf19bad54a6cc4b322396fdd06f4c1ee045b2 +Subproject bf80e2f594777c0c32fae092454bff0c13ae618 |