1. 31 Oct, 2012 1 commit
  2. 20 Aug, 2012 1 commit
    • pcapriotti's avatar
      Improve definition of forever (#5205) · b3ef6457
      pcapriotti authored
      The previous implementation was:
      
          forever a = a >> forever a
      
      which can create a space leak in some cases, even with optimizations.
      The current implementation:
      
          forever a = let a' = a >> a' in a'
      
      prevents repeated thunk allocations by creating a single thunk for the
      final result, even without optimizations.
      b3ef6457
  3. 25 Oct, 2011 1 commit
  4. 18 Jun, 2011 1 commit
  5. 09 Jun, 2011 1 commit
  6. 28 Jan, 2011 1 commit
  7. 22 Oct, 2010 1 commit
  8. 16 Jun, 2008 1 commit
  9. 05 Mar, 2008 1 commit
  10. 20 Jan, 2008 1 commit
  11. 13 Oct, 2005 1 commit
  12. 18 Sep, 2005 1 commit
  13. 04 May, 2005 1 commit
  14. 03 Feb, 2005 1 commit
  15. 11 Jan, 2005 1 commit
  16. 08 Sep, 2003 1 commit
  17. 05 Sep, 2003 1 commit
  18. 17 Feb, 2003 1 commit
  19. 26 Apr, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-04-26 12:48:16 by simonmar] · f478c5a4
      simonmar authored
      - Add proper module headers to these guys
      - Remove \$Id\$
      - Update copyrights
      - Int.lhs and Word.lhs were just wrapped in \begin{code}..\end{code},
        so make them .hs files instead.
      f478c5a4
  20. 21 Dec, 2001 1 commit
  21. 28 Jun, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-06-28 14:15:04 by simonmar] · 4fb94ae5
      simonmar authored
      First cut of the Haskell Core Libraries
      =======================================
      
      NOTE: it's not meant to be a working snapshot.  The code is just here
      to look at and so the NHC/Hugs guys can start playing around with it.
      
      There is no build system.  For GHC, the libraries tree is intended to
      be grafted onto an existing fptools/ tree, and the Makefile in
      libraries/core is a quick hack for that setup.  This won't work at the
      moment without the other changes needed in fptools/ghc, which I
      haven't committed because they'll cause breakage.  However, with the
      changes required these sources build a working Prelude and libraries.
      
      The layout mostly follows the one we agreed on, with one or two minor
      changes; in particular the Data/Array layout probably isn't final
      (there are several choices here).
      
      The document is in libraries/core/doc as promised.
      
      The cbits stuff is just a copy of ghc/lib/std/cbits and has
      GHC-specific stuff in it.  We should really separate the
      compiler-specific C support from any compiler-independent C support
      there might be.
      
      Don't pay too much attention to the portability or stability status
      indicated in the header of each source file at the moment - I haven't
      gone through to make sure they're all consistent and make sense.
      
      I'm using non-literate source outside of GHC/.  Hope that's ok with
      everyone.
      
      We need to discuss how the build system is going to work...
      4fb94ae5