This project is mirrored from https://git.haskell.org/packages/old-time. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 21 Jun, 2002 1 commit
  2. 20 Jun, 2002 4 commits
  3. 19 Jun, 2002 1 commit
  4. 18 Jun, 2002 3 commits
    • simonpj's avatar
      [project @ 2002-06-18 13:58:22 by simonpj] · 3d2db484
      simonpj authored
      ---------------------------------------
      	    Rehash the handling of SeqOp
      	---------------------------------------
      
      See the comments in the commentary (Cunning Prelude Code).
      
      * Expunge SeqOp altogether
      
      * Add GHC.Base.lazy :: a -> a
        to GHC.Base
      
      * Add GHC.Base.lazy
        to basicTypes/MkId.  The idea is that this defn will over-ride
        the info from GHC.Base.hi, thereby hiding strictness and
        unfolding
      
      * Make stranal/WorkWrap do a "manual inlining" for GHC.Base.lazy
        This happens nicely after the strictness analyser has run.
      
      * Expunge the SeqOp/ParOp magic in CorePrep
      
      * Expunge the RULE for seq in PrelRules
      
      * Change the defns of pseq/par in GHC.Conc to:
      
      	{-# INLINE pseq  #-}
             	pseq :: a -> b -> b
             	pseq  x y = x `seq` lazy y
      
             	{-# INLINE par  #-}
             	par :: a -> b -> b
             	par  x y = case (par# x) of { _ -> lazy y }
      3d2db484
    • simonmar's avatar
      [project @ 2002-06-18 13:01:43 by simonmar] · 5447e2ab
      simonmar authored
      Fix bug in the implementation of hGetLine: on finding the EOF when we
      have a partial line in our hands, we weren't resetting the state of
      the buffer to empty, so the same partial line would be returned for
      each subsequent call to hGetLine.
      5447e2ab
    • simonpj's avatar
      [project @ 2002-06-18 09:31:05 by simonpj] · 45afba05
      simonpj authored
      --------------------------
      	Deal with NaN and Infinity
      	--------------------------
      
      This commit arranges that
      
      * GHC.Real exports	infinity   :: Rational = 1 :% 0
      			notANumber :: Rational = 0 :% 0
      
      * GHC.Float.fromRat converts these Rational non-numbers into
        their Float/Double equivalents
      
      
      As a result, arith015/arith016 start to work again.  We can
      read NaN and Infinity into Float/Double.
      45afba05
  5. 14 Jun, 2002 1 commit
  6. 13 Jun, 2002 2 commits
  7. 11 Jun, 2002 1 commit
  8. 09 Jun, 2002 1 commit
    • panne's avatar
      [project @ 2002-06-09 14:20:06 by panne] · f87bde0d
      panne authored
      Use :%, not % for Inf/NaN, the latter would immediately lead to a
      runtime error. Note that
      
         isInfinite (read "Infinity" :: Float)
      
      or
      
         isInfinite (fromRational (1 :% 0))
      
      still don't work, because fromRational is not OK for those cases.
      f87bde0d
  9. 08 Jun, 2002 2 commits
  10. 06 Jun, 2002 2 commits
  11. 05 Jun, 2002 2 commits
    • simonpj's avatar
      [project @ 2002-06-05 14:08:24 by simonpj] · 4af6a170
      simonpj authored
      ------------------------------------------------
      	Fix the (new) lexer, and make the derived read
      	and show code work according to the new H98 report
      	------------------------------------------------
      
      
      The new lexer, based on Koen's cunning parser (Text.ParserCombinators.ReadP)
      wasn't quite right.  It's all very cool now.
      
      In particular:
      
      * The H98 "lex" function should return the exact string parsed, and it
      now does, aided by the new combinator ReadP.gather.
      
      * As a result the Text.Read.Lex Lexeme type is much simpler than before
          data Lexeme
            = Char   Char	-- Quotes removed,
            | String String	-- 	escapes interpreted
            | Punc   String 	-- Punctuation, eg "(", "::"
            | Ident  String	-- Haskell identifiers, e.g. foo, baz
            | Symbol String	-- Haskell symbols, e.g. >>, %
            | Int Integer
            | Rat Rational
            | EOF
           deriving (Eq,Show)
      
      * Multi-character punctuation, like "::" was getting lexed as a Symbol,
      but it should be a Punc.
      
      * Parsing numbers wasn't quite right.  "1..n" got it confused because it
      got committed to a decimal point and then found a second '.'.
      
      
      * The new H98 spec for Show is there, which ignores associativity.
      4af6a170
    • ross's avatar
      [project @ 2002-06-05 11:30:38 by ross] · dc3a9adc
      ross authored
      documentation adjustments.
      dc3a9adc
  12. 04 Jun, 2002 2 commits
    • sof's avatar
      [project @ 2002-06-04 19:13:31 by sof] · af8b4378
      sof authored
      Adjust to three-way split of HSbase + accommodate cygwin.
      af8b4378
    • sof's avatar
      [project @ 2002-06-04 19:12:53 by sof] · 5ac77b65
      sof authored
      PEi(x86) backends: The addition of Parsec to libraries/ put us over
      the limit for splitting HSbase into two parts (at least I couldn't
      find a good paritioning), we now need three. Fun and games.
      5ac77b65
  13. 03 Jun, 2002 1 commit
  14. 31 May, 2002 2 commits
  15. 29 May, 2002 3 commits
  16. 28 May, 2002 12 commits