1. 30 Oct, 2009 2 commits
  2. 13 Jul, 2009 2 commits
  3. 07 Jul, 2009 1 commit
  4. 07 Mar, 2009 1 commit
  5. 06 Mar, 2009 2 commits
  6. 30 Oct, 2008 1 commit
    • simonpj@microsoft.com's avatar
      Add (a) CoreM monad, (b) new Annotations feature · 9bcd95ba
      simonpj@microsoft.com authored
      This patch, written by Max Bolingbroke,  does two things
      
      1.  It adds a new CoreM monad (defined in simplCore/CoreMonad),
          which is used as the top-level monad for all the Core-to-Core
          transformations (starting at SimplCore).  It supports
             * I/O (for debug printing)
             * Unique supply
             * Statistics gathering
             * Access to the HscEnv, RuleBase, Annotations, Module
          The patch therefore refactors the top "skin" of every Core-to-Core
          pass, but does not change their functionality.
      
      2.  It adds a completely new facility to GHC: Core "annotations".
          The idea is that you can say
             {#- ANN foo (Just "Hello") #-}
          which adds the annotation (Just "Hello") to the top level function
          foo.  These annotations can be looked up in any Core-to-Core pass,
          and are persisted into interface files.  (Hence a Core-to-Core pass
          can also query the annotations of imported things.)  Furthermore,
          a Core-to-Core pass can add new annotations (eg strictness info)
          of its own, which can be queried by importing modules.
      
      The design of the annotation system is somewhat in flux.  It's
      designed to work with the (upcoming) dynamic plug-ins mechanism,
      but is meanwhile independently useful.
      
      Do not merge to 6.10!  
      9bcd95ba
  7. 16 Sep, 2008 3 commits
  8. 15 Sep, 2008 1 commit
  9. 11 Sep, 2008 1 commit
  10. 31 Jul, 2008 1 commit
  11. 02 Jul, 2008 1 commit
  12. 04 May, 2008 2 commits
  13. 12 Apr, 2008 1 commit
  14. 11 Apr, 2008 1 commit
  15. 18 Feb, 2008 1 commit
  16. 15 Dec, 2007 1 commit
  17. 13 Dec, 2007 1 commit
  18. 05 Dec, 2007 1 commit
  19. 21 Nov, 2007 1 commit
  20. 19 Nov, 2007 1 commit
  21. 17 Nov, 2007 2 commits
  22. 16 Nov, 2007 2 commits
  23. 04 Sep, 2007 1 commit
  24. 03 Sep, 2007 1 commit
  25. 01 Sep, 2007 1 commit
  26. 31 Aug, 2007 1 commit
  27. 23 Aug, 2007 1 commit
  28. 21 Aug, 2007 1 commit
  29. 15 Aug, 2007 1 commit
  30. 08 Aug, 2007 2 commits
  31. 07 Aug, 2007 1 commit