[commit: ghc] wip/gadtpm: Turn datatype `PmPat' into a GADT (594f5f5)
git at git.haskell.org
git at git.haskell.org
Mon Dec 21 00:11:43 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/gadtpm
Link : http://ghc.haskell.org/trac/ghc/changeset/594f5f58d6a7d9e8056d9f52332b1b1c776ed20d/ghc
>---------------------------------------------------------------
commit 594f5f58d6a7d9e8056d9f52332b1b1c776ed20d
Author: George Karachalias <george.karachalias at gmail.com>
Date: Sun Dec 20 20:37:26 2015 +0100
Turn datatype `PmPat' into a GADT
Use the same type (PmPat) for both patterns and value abstractions.
This way, we can get rid of constructors `NonGuard' and `VA' (less
obscure and slightly more performant).
>---------------------------------------------------------------
594f5f58d6a7d9e8056d9f52332b1b1c776ed20d
compiler/deSugar/Check.hs | 265 ++++++++++++++++++++++------------------------
1 file changed, 124 insertions(+), 141 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 594f5f58d6a7d9e8056d9f52332b1b1c776ed20d
More information about the ghc-commits
mailing list