diff options
author | Jan Stolarek <jan.stolarek@p.lodz.pl> | 2014-11-19 22:03:05 +0100 |
---|---|---|
committer | Jan Stolarek <jan.stolarek@p.lodz.pl> | 2014-11-20 18:56:36 +0100 |
commit | 696fc4ba5b36f478d8daec56656ebf7d99e18159 (patch) | |
tree | 17837c1712b5b042cc92f8ca8687f5d08f5c84aa /utils | |
parent | 64cb49686457c233d0f58e5cfa324ad28a5453a3 (diff) | |
download | haskell-696fc4ba5b36f478d8daec56656ebf7d99e18159.tar.gz |
Split SynTyCon to SynonymTyCon and FamilyTyCon
This patch refactors internal representation of type synonyms and type families by splitting them into two separate data constructors of TyCon data type. The main motivation is is that some fields make sense only for type synonyms and some make sense only for type families. This will be even more true with the upcoming injective type families.
There is also some refactoring of names to keep the naming constistent. And thus tc_kind field has become tyConKind and tc_roles has become tcRoles. Both changes are not visible from the outside of TyCon module.
Updates haddock submodule
Reviewers: simonpj
Differential Revision: https://phabricator.haskell.org/D508
GHC Trac Issues: #9812
Diffstat (limited to 'utils')
m--------- | utils/haddock | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/utils/haddock b/utils/haddock -Subproject bf80e2f594777c0c32fae092454bff0c13ae618 +Subproject 19409126be62383bc64d79698b265ffaf96269a |