Permalink
Commits on Apr 10, 2012
  1. Add testcase for #5930.

    pcapriotti committed Apr 10, 2012
  2. Add System.Environment.lookupEnv (#5930)

    pcapriotti committed Apr 10, 2012
    Based on a patch by Evan Laforge <qdunkan@gmail.com>
Commits on Apr 9, 2012
  1. Whitespace only: convert mixed tabs and spaces to spaces.

    elaforge authored and pcapriotti committed Mar 12, 2012
    Signed-off-by: Paolo Capriotti <p.capriotti@gmail.com>
  2. Rewrite to use just one notion of singletons.

    yav committed Apr 9, 2012
    This avoids the duplication of types and classes for each separate
    type of literal: before we had two copies of most functions, one for
    numbers and one for strings.  Now we just have one polymorphic (both
    at the type and the kind level!) version, which uses a type function
    and polymorphic kinds in an interesting way.
Commits on Apr 4, 2012
  1. Rename parAvgBytesCopied to parTotBytesCopied

    Mikolaj authored and Duncan Coutts committed Mar 8, 2012
    This follows a change in GHC and ghc-events. The previous name was misleading.
    
    From commit "Change the presentation of parallel GC work balance in +RTS -s":
    
        Also rename internal variables to make the names match what they hold.
        The parallel GC work balance is calculated using the total amount of
        memory copied by all GC threads, and the maximum copied by any
        individual thread. You have serial GC when the max is the same as
        copied, and perfectly balanced GC when total/max == n_caps.
Commits on Mar 30, 2012
  1. Test Trac #5962

    simonpj committed Mar 30, 2012
  2. Fix an egregious bug in the fingerprint calculation for TypeRep

    simonpj committed Mar 30, 2012
    Given (T ty1) and ty2, we were computing the fingerprint of the
    application (T ty1 ty2) by combining the two fingerprints from (T ty1)
    and ty2.  But that gives a different answer to combinging the three
    fingerprints from T, ty1, and ty2, which is what happens if you
    build the type all at once.  Urk!
    
    Fixes Trac #5962
Commits on Mar 27, 2012
  1. Ensure hGetBufSome does not cause potentially blocking reads (#5843)

    pcapriotti committed Mar 27, 2012
    When there is data in a handle buffer, never fetch more than the
    available number of elements, since that can cause a blocking read on
    Windows.
Commits on Mar 24, 2012
Commits on Mar 23, 2012
  1. add test for #5943

    simonmar committed Mar 23, 2012
  2. change unsafeDupableInterleaveIO from INLINE to NOINLINE (#5943)

    simonmar committed Mar 23, 2012
    See the comment for details.
Commits on Mar 22, 2012
  1. Revert IsEven to the way it was.

    yav committed Mar 22, 2012
  2. Fix the type of IsEven

    yav committed Mar 22, 2012
Commits on Mar 20, 2012
Commits on Mar 19, 2012
Commits on Mar 18, 2012
Commits on Mar 14, 2012
  1. Update gitignore

    David Terei
    David Terei committed Mar 14, 2012
Commits on Mar 13, 2012
Commits on Mar 11, 2012
Commits on Mar 9, 2012
Commits on Mar 1, 2012
  1. Make "100e12" not parse as an Integer; part of #5688

    igfoo committed Mar 1, 2012
    The report says that it isn't meant to.
  2. Add a readInteger001 test

    igfoo committed Mar 1, 2012
  3. Change how NaN and Infinity are read by lex

    igfoo committed Mar 1, 2012
    They now get read as Ident's, and the Read Double/Float instances
    (via convertFrac) handle that Ident specially.
  4. Add a test for reading Doubles

    igfoo committed Mar 1, 2012
  5. Refactor number lexing; part of #5688

    igfoo committed Mar 1, 2012
    This doesn't change the behaviour yet, but I think it's a step in the
    right direction.
Commits on Feb 29, 2012
  1. Remove some redundant imports

    igfoo committed Feb 29, 2012
Commits on Feb 28, 2012
  1. Move chr's definition into a new GHC.Char

    igfoo committed Feb 28, 2012
    This eliminates a SOURCE import
  2. Remove some __HADDOCK__ CPP

    igfoo committed Feb 28, 2012
    I think it was all to work around problems in old versions of haddock.
Commits on Feb 26, 2012
  1. Use CAPI for lseek

    igfoo committed Feb 26, 2012