1. 23 May, 2007 3 commits
    • simonpj@microsoft.com's avatar
      In GHCi, bind identifiers at TH level 'impLevel' · 800dba35
      simonpj@microsoft.com authored
      Consder Trac #1265, which does this in GHCi:
      
      	Prelude> let doit = fail "Code not written yet" :: ExpQ
      	Prelude> $(doit)
      
      Even though 'doit' is defined "in the same module", it's OK to use it in a splice
      because it'll have been fully compiled to bytecode.  (Contrast the situation if
      these two lines appeared in a single, compiled module.)
      
      Hence we want to bind 'doit' at TH's "imported level" (TcRnTypes.impLevel).  
      This used to happen because GHCi-bound Ids were in the *global* type
      env (and hence at "imported level").  But since SimonM moved
      GHCi-bound ids to the *local* type env (for good reasons) the above
      program has been rejected.
      
      This patch makes it work again.
      800dba35
    • simonpj@microsoft.com's avatar
      White-space only · 87b3c589
      simonpj@microsoft.com authored
      87b3c589
    • simonpj@microsoft.com's avatar
      Drop redundant import · 56f04f2e
      simonpj@microsoft.com authored
      56f04f2e
  2. 21 May, 2007 1 commit
  3. 11 May, 2007 1 commit
  4. 14 May, 2007 1 commit
  5. 23 May, 2007 1 commit
  6. 11 May, 2007 1 commit
  7. 10 May, 2007 1 commit
  8. 22 May, 2007 1 commit
  9. 21 May, 2007 4 commits
  10. 20 May, 2007 1 commit
  11. 21 May, 2007 1 commit
  12. 20 May, 2007 4 commits
  13. 19 May, 2007 1 commit
  14. 30 Apr, 2007 2 commits
  15. 29 Apr, 2007 1 commit
  16. 19 May, 2007 1 commit
  17. 18 May, 2007 5 commits
  18. 17 May, 2007 3 commits
  19. 18 May, 2007 7 commits