This project is mirrored from 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. 11 Jul, 2014 1 commit
  2. 10 Jul, 2014 1 commit
  3. 06 Jul, 2014 1 commit
  4. 02 Jul, 2014 1 commit
  5. 30 Jun, 2014 1 commit
  6. 28 Jun, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Simplify .gitignore files · 767b9ddf
      Herbert Valerio Riedel authored
      It's a bit confusing to have .gitignore files spread all over the
      filesystem. This commit tries to consolidate those into one .gitignore
      file per component. Moreover, we try to describe files to be ignored which
      happen to have a common identifying pattern by glob patterns.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <>
  7. 24 Jun, 2014 2 commits
    • Herbert Valerio Riedel's avatar
      Fixup c1035d51 to behave more like in GHC 7.6 · ec550e8f
      Herbert Valerio Riedel authored
      The fix in c1035d51
       (addressing #9231) was done under the assumption
      that `Data.Fixed` is used only with power-of-10 `resolution`. This
      follow-up fixup changes the behavior to be more consistent with the
      previous behavior in GHC 7.6
      For instance, for the following `B7` resolution
         > data B7
         > instance HasResolution B7 where resolution _ = 128
      After this patch, the following behavior is now observable:
         > 1.070 :: Fixed B7
         > 1.062 :: Fixed B7
         > read "1.070" :: Fixed B7
         > read "1.062" :: Fixed B7
      This doesn't provide the desirable "read . show == id" property
      yet (which didn't hold in GHC 7.6 either), but at least `fromRational`
      and `read` are consistent.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <>
    • Herbert Valerio Riedel's avatar
      Fix regression in Data.Fixed Read instance (re #9231) · c1035d51
      Herbert Valerio Riedel authored
      `convertFixed` operates under the wrong assumption that
      `Data.Fixed.resolution` returns a base-10 exponent `e`, whereas it
      actually returns the power-of-10 value `10^e`.
      So while the code (that was introduced in 5f19f951
       / #7483) happens to
      compute a correct result by coincidence, it allocates huge integer values
      in the process (i.e. `10^(10^e)`) which cause long computations which
      eventually result in out-of-memory conditions for `e`-values beyond
      A proper long-term fix would probably be to extend the `HasResolution`
      type-class to have a 2nd method providing the `e` value.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <>
      Differential Revision:
  8. 19 Jun, 2014 3 commits
  9. 18 Jun, 2014 1 commit
  10. 17 Jun, 2014 1 commit
  11. 16 Jun, 2014 3 commits
  12. 14 Jun, 2014 1 commit
  13. 11 Jun, 2014 6 commits
  14. 10 Jun, 2014 3 commits
  15. 09 Jun, 2014 2 commits
  16. 08 Jun, 2014 1 commit
    • Sergei Trofimovich's avatar
      Raise exceptions when blocked in bad FDs (fixes Trac #4934) · 9fd507e5
      Sergei Trofimovich authored
      Before the patch any call to 'select()' with 'bad_fd' led to:
      - unblocking of all threads
      - hiding exception for 'threadWaitRead bad_fd'
      The patch fixes both cases in this way:
      after 'select()' failure we iterate over each blocked descriptor
      and poll individually to see it's actual status, which is:
      - READY (move to run queue)
      - BLOCKED (leave in blocked queue)
      - INVALID (send an IOErrror exception)
      Signed-off-by: default avatarSergei Trofimovich <>
  17. 04 Jun, 2014 1 commit
  18. 30 May, 2014 1 commit
  19. 28 May, 2014 1 commit
  20. 27 May, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Replace DeriveDataTypeable by AutoDeriveTypeable · 6ed54303
      Herbert Valerio Riedel authored
      This is a first step towards addressing #9111
      This results in the following additional Typeable (exported) instances
      being generated (list was compiled by diff'ing hoogle txt output):
        instance Typeable CFile
        instance Typeable 'CFile
        instance Typeable CFpos
        instance Typeable 'CFpos
        instance Typeable CJmpBuf
        instance Typeable 'CJmpBuf
        instance Typeable ChItem
        instance Typeable QSem
        instance Typeable ID
        instance Typeable 'ID
        instance Typeable CONST
        instance Typeable Qi
        instance Typeable Qr
        instance Typeable Mp
        instance Typeable ConstrRep
        instance Typeable Fixity
        instance Typeable 'Prefix
        instance Typeable 'Infix
        instance Typeable Constr
        instance Typeable DataType
        instance Typeable DataRep
        instance Typeable Data
        instance Typeable HasResolution
        instance Typeable IsList
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <>
  21. 19 May, 2014 1 commit
  22. 15 May, 2014 1 commit
  23. 14 May, 2014 1 commit
  24. 04 May, 2014 1 commit
  25. 02 May, 2014 1 commit
    • Simon Marlow's avatar
      Per-thread allocation counters and limits · b0534f78
      Simon Marlow authored
      This tracks the amount of memory allocation by each thread in a
      counter stored in the TSO.  Optionally, when the counter drops below
      zero (it counts down), the thread can be sent an asynchronous
      exception: AllocationLimitExceeded.  When this happens, given a small
      additional limit so that it can handle the exception.  See
      documentation in GHC.Conc for more details.
      Allocation limits are similar to timeouts, but
        - timeouts use real time, not CPU time.  Allocation limits do not
          count anything while the thread is blocked or in foreign code.
        - timeouts don't re-trigger if the thread catches the exception,
          allocation limits do.
        - timeouts can catch non-allocating loops, if you use
          -fno-omit-yields.  This doesn't work for allocation limits.
      I couldn't measure any impact on benchmarks with these changes, even
      for nofib/smp.
  26. 29 Apr, 2014 1 commit
  27. 28 Apr, 2014 1 commit