Perhaps this should be documented in the User's Guide? Janek
Dnia niedziela, 2 listopada 2014, [email protected] napisaĆ: > Repository : ssh://[email protected]/ghc > > On branch : master > Link : > http://ghc.haskell.org/trac/ghc/changeset/c271e32eac65ee95ba1aacc72ed1b24b5 >8ef17ad/ghc > > >--------------------------------------------------------------- > > commit c271e32eac65ee95ba1aacc72ed1b24b58ef17ad > Author: Joachim Breitner <[email protected]> > Date: Sun Jan 26 11:36:23 2014 +0000 > > Add GHC.Prim.oneShot > > to allow the programer to explictitly set the oneShot flag. This helps > with #7994 and will be used in left folds. Also see > https://ghc.haskell.org/trac/ghc/wiki/OneShot > > This commit touches libraries/base/GHC/Event/Manager.hs (which used to > have a local definition of the name oneShot) to avoid a shadowing > error. > > Differential Revision: https://phabricator.haskell.org/D392 > > >--------------------------------------------------------------- > > c271e32eac65ee95ba1aacc72ed1b24b58ef17ad > compiler/basicTypes/MkId.lhs | 42 > ++++++++++++++++++++-- compiler/prelude/PrelNames.lhs | > 3 +- > libraries/base/GHC/Event/Manager.hs | 6 ++-- > libraries/ghc-prim/GHC/Magic.hs | 11 +++++- > testsuite/.gitignore | 1 + > .../should_compile => simplCore/prog003}/Makefile | 0 > testsuite/tests/simplCore/prog003/OneShot1.hs | 21 +++++++++++ > testsuite/tests/simplCore/prog003/OneShot2.hs | 24 +++++++++++++ > .../simplCore/prog003/simplCore.oneShot.stderr | 21 +++++++++++ > .../simplCore/prog003/simplCore.oneShot.stdout | 1 + > testsuite/tests/simplCore/prog003/test.T | 7 ++++ > 11 files changed, 130 insertions(+), 7 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 c271e32eac65ee95ba1aacc72ed1b24b58ef17ad > _______________________________________________ > ghc-commits mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/ghc-commits _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
