1. 17 Apr, 2003 5 commits
    • simonpj's avatar
      [project @ 2003-04-17 15:23:32 by simonpj] · 6e6f5469
      simonpj authored
      	Implement Typeable properly
      1.  Add 'deriving' for Typeable class. So you can say
      	data T a b = .... deriving( Typeable )
          At the moment you only get this if you ask for it. If you say
          nothing you get nothing.
      2.  Implement Typeable better, with proper O(1) comparison of
          type representations
      3.  Add the 'cast' operation described in 'Scrap your boilerplate'
          and use it.
      4.  Consequence: need to move the definition of IOArray from
          Data.Array.IO.Internals to GHC.IOBase, where it joins IORef.
          This is necssary so that HashTable can be low down in the compilation
          hierarchy, and hence so can Dynamic.
      	WARNING: I'm not certain the imports in HashTable and Dynamic
      		 will all be right for Hugs and NHC. I hope you can
      	  	 fix them up.
    • simonpj's avatar
      [project @ 2003-04-17 15:22:38 by simonpj] · f238dae7
      simonpj authored
    • simonpj's avatar
      [project @ 2003-04-17 14:12:15 by simonpj] · 989039af
      simonpj authored
    • simonmar's avatar
      [project @ 2003-04-17 12:00:58 by simonmar] · 6166618b
      simonmar authored
      Comment fix
    • simonpj's avatar
      [project @ 2003-04-17 07:13:54 by simonpj] · fb147188
      simonpj authored
      Update hi-boot files
  2. 16 Apr, 2003 1 commit
    • simonpj's avatar
      [project @ 2003-04-16 13:34:13 by simonpj] · 221b6b69
      simonpj authored
       Use the Infer/Check idea for typechecking higher-rank types
      The main idea is that
      	data Expected ty = Infer (TcRef ty) | Check ty
      	tcMonoExpr :: Expr -> Expected TcRhoType -> TcM Expra
      This "Expected" type tells tcMonoExpr whether it's doing inference or
      checking.  It replaces the "HoleTv" flavour of type variable.
      This actually leads to slightly more lines of code, but it's much
      clearer, and the new type distinctions showed up several subtle bugs
      in the previous implementation.  It all arose out of writing the
      prototype implementation for the paper.
      Error messages wibble around a little bit.  I'm not quite certain why!  But the
      changes look like improvements to me.
  3. 15 Apr, 2003 1 commit
    • simonmar's avatar
      [project @ 2003-04-15 14:37:12 by simonmar] · 91af47d4
      simonmar authored
      Fix bug in forkProcess: it should be using RET_N rather than returing
      directly.  Makes a difference for unregisterised only.
      Remove dead code in atomicModifyMVarzh_fast.
  4. 14 Apr, 2003 3 commits
  5. 12 Apr, 2003 3 commits
  6. 11 Apr, 2003 5 commits
  7. 10 Apr, 2003 8 commits
  8. 09 Apr, 2003 4 commits
    • simonpj's avatar
      [project @ 2003-04-09 08:44:53 by simonpj] · d8454be7
      simonpj authored
      Document how to get rid of the console window
    • simonpj's avatar
      [project @ 2003-04-09 08:44:37 by simonpj] · d56e0dc8
      simonpj authored
    • simonpj's avatar
      [project @ 2003-04-09 08:07:58 by simonpj] · cf31797e
      simonpj authored
            Fix a functional-dependency-related bug in
      	MERGE TO STABLE if it goes over conveniently
      		(but I rather think it may not)
      tcSimplifyRestricted works by (a) simplifying brutall to find out
      what the constrained type variables are, and (b) simplifying more
      gently, knowing the constrained type varaibles.  The bug is that
      in step (b) we were not doing the check-for-improvement-and-loop
      part, thinking that step (a) had alrady done all the improvement.
      But not so, as an example in the code now shows.
      Simple to fix.  I rather think we could tidy up these various loops.
    • simonpj's avatar
      [project @ 2003-04-09 07:48:31 by simonpj] · 92cee1fc
      simonpj authored
  9. 08 Apr, 2003 8 commits
  10. 06 Apr, 2003 1 commit
  11. 04 Apr, 2003 1 commit
    • reid's avatar
      [project @ 2003-04-04 09:11:02 by reid] · 9067e75f
      reid authored
      Missing commit from last night: Add GreenCard files, GreenCard derived files, etc. to the lists of sources so that make depend and make clean work