1. 23 Sep, 2009 1 commit
  2. 16 Sep, 2009 1 commit
  3. 15 Sep, 2009 1 commit
    • Ross Paterson's avatar
      make some Applicative functions into methods, and split off Data.Functor (proposal #3335) · 9563eea1
      Ross Paterson authored
      The following functions
      
          (<$) :: Functor f => a -> f b -> f a
          (*>) :: Applicative f => f a -> f b -> f b
          (<*) :: Applicative f => f a -> f b -> f a
          some :: Alternative f => f a -> f [a]
          many :: Alternative f => f a -> f [a]
      
      are moved into the corresponding classes, with the existing implementations
      as default definitions.  This gives people creating instances the option of
      defining specialized implementations of these functions, though they should
      be equivalent to the default definitions.
      
      Although (<$) is now a method of the Functor class, it is hidden in the
      re-export by the Prelude, Control.Monad and Monad.  The new module
      Data.Functor exposes the full class, plus the function (<$>).  These are
      also re-exported by Control.Applicative.
      9563eea1
  4. 13 Sep, 2009 1 commit
    • judah's avatar
      On Windows, use the console code page for text file encoding/decoding. · b63b596e
      judah authored
      We keep all of the code page tables in the module
      GHC.IO.Encoding.CodePage.Table.  That file was generated automatically
      by running codepages/MakeTable.hs; more details are in the comments at the
      start of that script.
      
      Storing the lookup tables adds about 40KB to each statically linked executable;
      this only increases the size of a "hello world" program by about 7%.
      
      Currently we do not support double-byte encodings (Chinese/Japanese/Korean), since
      including those codepages would increase the table size to 400KB.  It will be
      straightforward to implement them once the work on library DLLs is finished.
      b63b596e
  5. 11 Sep, 2009 2 commits
  6. 30 Aug, 2009 3 commits
    • Simon Marlow's avatar
      Address #3310 · a5e2fa98
      Simon Marlow authored
       - Rename BlockedOnDeadMVar   -> BlockedIndefinitelyOnMVar
       - Rename BlockedIndefinitely -> BlockedIndefinitelyOnSTM
       - instance Show BlockedIndefinitelyOnMVar is now
           "blocked indefinitely in an MVar operation"
       - instance Show BlockedIndefinitelyOnSTM is now
           "blocked indefinitely in an STM transaction"
      
      clients using Control.OldException will be unaffected (the new
      exceptions are mapped to the old names).  However, for base4-compat
      we'll need to make a version of catch/try that does a similar
      mapping.
      a5e2fa98
    • Ben.Lippmeier@anu.edu.au's avatar
      Fix unicode conversion for MSB architectures · 7ac406c8
      Ben.Lippmeier@anu.edu.au authored
      This fixes the SPARC/Solaris build.
      7ac406c8
    • Simon Marlow's avatar
      b98015a5
  7. 27 Aug, 2009 2 commits
  8. 26 Aug, 2009 2 commits
  9. 25 Aug, 2009 1 commit
  10. 19 Aug, 2009 1 commit
  11. 12 Aug, 2009 1 commit
  12. 11 Aug, 2009 1 commit
  13. 09 Aug, 2009 2 commits
  14. 07 Aug, 2009 1 commit
  15. 05 Aug, 2009 1 commit
  16. 06 Aug, 2009 1 commit
  17. 05 Aug, 2009 2 commits
  18. 04 Aug, 2009 1 commit
  19. 03 Aug, 2009 1 commit
  20. 01 Aug, 2009 1 commit
  21. 22 Jul, 2009 1 commit
  22. 21 Jul, 2009 2 commits
  23. 22 Jul, 2009 1 commit
  24. 21 Jul, 2009 1 commit
  25. 19 Jul, 2009 1 commit
  26. 18 Jul, 2009 1 commit
  27. 15 Jul, 2009 5 commits
  28. 13 Jul, 2009 1 commit