Skip to content
Snippets Groups Projects
  1. Jan 04, 2016
  2. Jan 03, 2016
  3. Jan 02, 2016
  4. Jan 01, 2016
    • Alan Zimmerman's avatar
      API Annotations: AnnTilde missing · 0b8dc7d4
      Alan Zimmerman authored
      In T10689a.hs, the fragment
      
          data instance Sing (z :: [a])
            = z ~ '[] =>
              SNil
            | forall (m :: a)
                     (n :: [a]). z ~ (:) m n =>
              SCons (Sing m) (Sing n)
      
      ends up with the AnnTilde annotations for the two tildes not attached to
      the final AST.
      
      This patch moves the AnnTilde to the right place.
      
      Closes #11321
      0b8dc7d4
    • Simon Peyton Jones's avatar
      Add strictness for runRW# · f3cc3456
      Simon Peyton Jones authored
      runRW# isn't inlined until CorePrep, so it's good to expose its
      strictness.  Moreover, if we don't we can get obscure failures
      in coreToStg; see Note [runRW arg] in CorePrep.
      
      This fixes Trac #11291, and makes DfltProb1 compile with -O
      always in order to expose it more vigorously
      f3cc3456
    • Alan Zimmerman's avatar
      Update Cabal submodule, Fixes #11326 · ab0d733d
      Alan Zimmerman authored
      Troublesome commit in Cabal was reverted.
      ab0d733d
    • Herbert Valerio Riedel's avatar
      Minor fix of MonadFail instance for `ReadPrec` · b469b308
      Herbert Valerio Riedel authored
      This fixes the instance to be semantically cleaner but other than that
      this fix has no practical consequences as the implementations of
      `Monad(fail)` and `MonadFail(fail)` for `ReadP` coincide.
      b469b308
    • Herbert Valerio Riedel's avatar
      Canonicalise `MonadPlus` instances · dafeb51f
      Herbert Valerio Riedel authored
      This refactoring exploits the fact that since AMP, in most cases,
      `instance MonadPlus` can be automatically derived from the respective
      `Alternative` instance.  This is because `MonadPlus`'s default method
      implementations are fully defined in terms of `Alternative(empty, (<>))`.
      dafeb51f
  5. Dec 31, 2015
  6. Dec 30, 2015
Loading