1. 07 Sep, 2017 1 commit
    • Herbert Valerio Riedel's avatar
      Make Semigroup a superclass of Monoid (re #14191) · 8ae263ce
      Herbert Valerio Riedel authored
      Unfortunately, this requires introducing a couple of .hs-boot files to
      break up import cycles (mostly to provide class & typenames in order to
      be able to write type signatures).
      This does not yet re-export `(<>)` from Prelude (while the class-name
      `Semigroup` is reexported); that will happen in a future commit.
      Test Plan: local ./validate passed
      Reviewers: ekmett, austin, bgamari, erikd, RyanGlScott
      Reviewed By: ekmett, RyanGlScott
      GHC Trac Issues: #14191
      Differential Revision: https://phabricator.haskell.org/D3927
  2. 17 Aug, 2017 1 commit
  3. 06 Jun, 2016 1 commit
  4. 07 Mar, 2015 1 commit
  5. 16 Dec, 2014 1 commit
  6. 21 Nov, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Add Data.Void to base (re #9814) · a97f90ce
      Herbert Valerio Riedel authored
      This adds the module `Data.Void` (formerly provided by Edward Kmett's `void`
      package) to `base`.
      The original Haskell98 compatible implementation has been modified to use
      modern GHC features (among others this makes use of `EmptyCase` as
      motivated by #2431), and `vacuousM` was dropped since it's redundant now
      with the AMP in place.  Instances for classes not part of `base` had to be
      dropped as well.
      TODO: Documentation could be improved
      Reviewed By: ekmett, austin
      Differential Revision: https://phabricator.haskell.org/D506