[commit: ghc] master: Allow optional 'family' and 'instance' keywords in associated type instances (384398b)
git at git.haskell.org
git at git.haskell.org
Thu Nov 7 13:26:19 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/384398b3eb2bc36a3e7b42a51495bd89398075b5/ghc
>---------------------------------------------------------------
commit 384398b3eb2bc36a3e7b42a51495bd89398075b5
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Nov 7 13:24:51 2013 +0000
Allow optional 'family' and 'instance' keywords in associated type instances
This is to allow
class C a where
type family F a
type instance F a = Bool
instance C Int where
type instance F Int = Char
Plus minor improvements relating to Trac #8506
>---------------------------------------------------------------
384398b3eb2bc36a3e7b42a51495bd89398075b5
compiler/parser/Parser.y.pp | 70 ++++++++++++++++-----------------
compiler/parser/RdrHsSyn.lhs | 77 ++++++++++++++++++++++---------------
docs/users_guide/glasgow_exts.xml | 10 +++--
3 files changed, 84 insertions(+), 73 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 384398b3eb2bc36a3e7b42a51495bd89398075b5
More information about the ghc-commits
mailing list