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. 21 Dec, 2015 1 commit
    • dolio's avatar
      Modify IsString String instance (fixes #10814) · b225b234
      dolio authored
      The new instance resolves to `s ~ [Char]` as soon as we know that `s ~
      [a]`, to avoid certain functions (like (++)) causing a situation where
      `a` is ambiguous and (currently) unable to be defaulted.
      Reviewers: #core_libraries_committee, hvr, austin, bgamari
      Reviewed By: hvr, bgamari
      Subscribers: thomie
      Differential Revision:
      GHC Trac Issues: #10814
  2. 17 Dec, 2015 1 commit
  3. 12 Dec, 2015 1 commit
    • Eric Seidel's avatar
      Rework the Implicit CallStack solver to handle local lets. · 3ec8288a
      Eric Seidel authored
      We can't just solve CallStack constraints indiscriminately when they
      occur in the RHS of a let-binder. The top-level given CallStack (if
      any) will not be in scope, so I've re-worked the CallStack solver as
      1. CallStacks are treated like regular IPs unless one of the following
         two rules apply.
      2. In a function call, we push the call-site onto a NEW wanted
         CallStack, which GHC will solve as a regular IP (either directly from a
         given, or by quantifying over it in a local let).
      3. If, after the constraint solver is done, any wanted CallStacks
         remain, we default them to the empty CallStack. This rule exists mainly
         to clean up after rule 2 in a top-level binder with no given CallStack.
      In rule (2) we have to be careful to emit the new wanted with an
      IPOccOrigin instead of an OccurrenceOf origin, so rule (2) doesn't fire
      again. This is a bit shady but I've updated the Note to explain the
      Test Plan: validate
      Reviewers: simonpj, austin, bgamari, hvr
      Reviewed By: simonpj, bgamari
      Subscribers: thomie
      Differential Revision:
      GHC Trac Issues: #10845
  4. 07 Dec, 2015 1 commit
  5. 18 Nov, 2015 1 commit
  6. 16 Nov, 2015 1 commit
  7. 03 Nov, 2015 2 commits
  8. 02 Nov, 2015 1 commit
  9. 01 Nov, 2015 1 commit
    • Herbert Valerio Riedel's avatar
      Bump `base` version to (closes #11026) · f8ba4b55
      Herbert Valerio Riedel authored
      This also relaxes a few upper bounds on base in the ghc.git repo;
      This required a mass-rewrite in testsuite/
        sed -i s,base-,base-,g $(git grep -Fl 'base-')
      because it turns out the testsuite is still sensitive to package version
  10. 19 Oct, 2015 1 commit
    • Facundo Domínguez's avatar
      base: Have the argument of mask restore the state. · 2b25a589
      Facundo Domínguez authored
      The implementation of `mask` and `uninterruptibleMask` assumed so far
      that the restore argument would be called in a context with the same
      masking state as that set by `mask` or `uninterruptibleMask`.
      This patch has the restore argument restore the masking, whatever the
      current masking state is.
      Test Plan: validate
      Reviewers: simonmar, hvr, austin, bgamari
      Reviewed By: bgamari
      Subscribers: thomie, qnikst
      Differential Revision:
      GHC Trac Issues: #10149
  11. 17 Oct, 2015 1 commit
  12. 16 Oct, 2015 1 commit
  13. 13 Oct, 2015 1 commit
  14. 10 Oct, 2015 1 commit
    • Ben Gamari's avatar
      Keep `shift{L,R}` on `Integer` from segfaulting · 182c44da
      Ben Gamari authored
      This can happen because the underlying primitive operations in
      `integer-gmp` don't support negative shift-amounts, and since
      `integer-gmp` can't throw proper exceptions and just provides a
      low-level API, it simply segfaults instead...
      This patch simply removes the `shift{L,R}` method definitions (and
      defines `unsafeShift{L,R}` instead) whose default-impls fallback on
      using `shift` which properly handles negative shift arguments.
      This addresses #10571
      Test Plan: harbormaster can do it
      Reviewers: hvr, austin, rwbarton
      Subscribers: rwbarton, thomie, bgamari
      Differential Revision:
      GHC Trac Issues: #10571
  15. 03 Oct, 2015 1 commit
    • Ryan Scott's avatar
      Make GHC generics capable of handling unboxed types · 6cde981a
      Ryan Scott authored
      This adds a data family (`URec`) and six data family instances (`UAddr`,
      `UChar`, `UDouble`, `UFloat`, `UInt`, and `UWord`) which a `deriving
      Generic(1)` clause will generate if it sees `Addr#`, `Char#`, `Double#`,
      `Float#`, `Int#`, or `Word#`, respectively. The programmer can then
      provide instances for these data family instances to provide custom
      implementations for unboxed types, similar to how derived `Eq`, `Ord`,
      and `Show` instances currently special-case unboxed types.
      Fixes #10868.
      Test Plan: ./validate
      Reviewers: goldfire, dreixel, bgamari, austin, hvr, kosmikus
      Reviewed By: dreixel, kosmikus
      Subscribers: simonpj, thomie
      Differential Revision:
      GHC Trac Issues: #10868
  16. 02 Oct, 2015 1 commit
  17. 29 Aug, 2015 1 commit
    • Ryan Scott's avatar
      Make Generic (Proxy t) instance poly-kinded (fixes #10775) · a6826c5d
      Ryan Scott authored
      This amounts to enabling PolyKinds in GHC.Generics. However, explicit
      kind signatures must be applied to the datatypes and typeclasses in
      GHC.Generics to ensure that the Core which TcGenGenerics generates
      is properly kinded.
      Several of the typeclasses in GHC.Generics could be poly-kinded, but
      this differential does not attempt to address this, since D493 already
      addresses this.
      Test Plan: ./validate
      Reviewers: hvr, austin, dreixel, bgamari
      Reviewed By: austin, dreixel, bgamari
      Subscribers: goldfire, thomie
      Differential Revision:
      GHC Trac Issues: #10775
  18. 07 Aug, 2015 1 commit
  19. 06 Aug, 2015 1 commit
    • Fumiaki Kinoshita's avatar
      base: Add instances · 97843d0b
      Fumiaki Kinoshita authored
      This patch adds following instances:
      * Foldable ZipList
      * Traversable ZipList
      * Functor Complex
      * Applicative Complex
      * Monad Complex
      * Foldable Complex
      * Traversable Complex
      * Generic1 Complex
      * Monoid a => Monoid (Identity a)
      * Storable ()
      Reviewers: ekmett, fumieval, hvr, austin
      Subscribers: thomie, #core_libraries_committee
      Projects: #core_libraries_committee
      Differential Revision:
      GHC Trac Issues: #10609
  20. 05 Aug, 2015 1 commit
  21. 30 Jul, 2015 1 commit
  22. 07 Jul, 2015 2 commits
  23. 03 Jul, 2015 1 commit
  24. 16 Jun, 2015 1 commit
  25. 25 Apr, 2015 2 commits
  26. 14 Apr, 2015 2 commits
  27. 03 Apr, 2015 1 commit
  28. 25 Mar, 2015 1 commit
  29. 23 Mar, 2015 1 commit
  30. 17 Mar, 2015 1 commit
  31. 11 Mar, 2015 1 commit
  32. 07 Mar, 2015 2 commits
  33. 05 Mar, 2015 1 commit
    • Herbert Valerio Riedel's avatar
      Add public rnf/hash operations to TypeRep/TyCon · 56e0ac98
      Herbert Valerio Riedel authored
      `TyCon` and `TypeRep` are supposed to be abstract, by providing these
      additional few public operations the need to import
      `Data.Typeable.Internal` is reduced, and future changes to the internal
      structure of `TypeRep`/`TyCon` shouldn't require changes in packages such as
      `deepseq` or `hashable` anymore (hopefully).
      Reviewers: ekmett, simonpj, tibbe, austin
      Reviewed By: ekmett, simonpj, austin
      Subscribers: thomie
      Differential Revision:
  34. 23 Jan, 2015 1 commit
  35. 22 Jan, 2015 1 commit
    • Herbert Valerio Riedel's avatar
      Restore invariant in `Data (Ratio a)` instance · 3df429e2
      Herbert Valerio Riedel authored
      (2nd attempt, this time leaving the `Constr` using `":%"`)
      The Data instance for `Ratio` just uses the raw `:%` constructor and
      doesn't check that the result is reduced to normal form.
      The fix is to add back the `Integral` constraint on the Data
      instance (which was dropped in c409b6f3) and to use `%` rather
      than `:%` in the `gfoldl` and `gunfold` implementation.
      This restores the invariant and matches the behavior of "virtual
      constructors" we've used to patch up such problems elsewhere.
      This addresses #10011
      Reviewed By: ekmett, austin
      Differential Revision: