Skip to content
Snippets Groups Projects
  1. Sep 20, 2017
    • Herbert Valerio Riedel's avatar
      Add 'stm' package to the global package database · 02ff7056
      Herbert Valerio Riedel authored
      This is a preparation for `haskeline` picking up a dependency on `stm`
      real soon now. See https://github.com/judah/haskeline/pull/61 for details.
      
      If we figure out a way to not bundle the libraries depended upon by the
      GHCi executable in the global package database (see #8919 for the original
      reason why we had to start bundling terminfo/haskeline in the first place)
      we can get rid of `stm` again...
      
      On the bright side, we were able to avoid uploading new `stm` releases for
      over two years already, so it shouldn't cause too much trouble if GHC imposes
      a strong preference on the `stm` package's version (this most likely will
      mostly affect Linux distributions & similiar).
      
      While at it, this also update the stm submodule to include relaxed
      bounds to allow the upcoming base-4.11 version.
      02ff7056
  2. Sep 19, 2017
  3. Sep 18, 2017
    • niteria's avatar
      [RTS] Add getObjectLoadStatus · cdaf5f20
      niteria authored
      This adds a function to the RTS linker API which lets the
      user check the status of dynamically linked objects.
      
      It was initially proposed by @afarmer in D2068.
      It's useful for testing the linker and also for detecting retention
      problems in production.
      
      It takes a path, because it's easier to use path as key instead of producing
      some stable handle.
      
      It returns an enum instead of bool, because I see no reason for destroying
      information. All the complexity is already out in the open, so there's
      nothing to save the users from.
      
      Test Plan: ./validate
      
      Reviewers: simonmar, Phyx, bgamari, austin, erikd
      
      Reviewed By: Phyx, bgamari
      
      Subscribers: rwbarton, afarmer, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3963
      cdaf5f20
  4. Sep 17, 2017
  5. Sep 16, 2017
    • Ben Gamari's avatar
      base: Enable TypeInType in Data.Type.Equality · b0991714
      Ben Gamari authored
      Otherwise compilation fails with,
      
          libraries/base/Data/Type/Equality.hs:145:4: error:
              • Data constructor ‘HRefl’ constrains the choice of kind parameter:
                  k2 ~ k2
                Use TypeInType to allow this
              • In the definition of data constructor ‘HRefl’
                In the data type declaration for ‘:~~:’
              |
          145 |    HRefl :: a :~~: a
              |    ^
      b0991714
  6. Sep 15, 2017
  7. Sep 14, 2017
Loading