[commit: packages/haskell2010] wip/T9590: Attempt at reviving the `haskell2010` package (ac8801a)
git at git.haskell.org
git at git.haskell.org
Thu Feb 12 10:02:31 UTC 2015
Repository : ssh://git@git.haskell.org/haskell2010
On branch : wip/T9590
Link : http://git.haskell.org/packages/haskell2010.git/commitdiff/ac8801ad9b9126fce00073b8497df37aeeaeb42d
>---------------------------------------------------------------
commit ac8801ad9b9126fce00073b8497df37aeeaeb42d
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Thu Feb 12 10:57:07 2015 +0100
Attempt at reviving the `haskell2010` package
This tries to compensate for AMP (the harder one) and FTP (easier one)
This introduces a separate `Monad`-class from the one in `base`, which
also means that with the current GHC feature-set, this only works in
combination w/ -XRebindableSyntax (whereas a variant of that extension
would be nicer which doesn't need enabling at each use-site, but rather
only to be enabled inside the `Prelude` module currently in scope)
Having this, we could also recover the strict H2010 `Num`-class version
with the Eq/Ord constraint.
>---------------------------------------------------------------
ac8801ad9b9126fce00073b8497df37aeeaeb42d
Control/Monad.hs | 346 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
Data/List.hs | 128 +++++++++++++++++++-
Prelude.hs | 24 +---
haskell2010.cabal | 2 +-
4 files changed, 465 insertions(+), 35 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 ac8801ad9b9126fce00073b8497df37aeeaeb42d
More information about the ghc-commits
mailing list