1. 31 Aug, 2014 1 commit
  2. 13 Mar, 2014 1 commit
  3. 01 Mar, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Workaround failed constant-folding for zeroBits · 0d66095d
      Herbert Valerio Riedel authored
      
      
      For some reason GHC fails to constant fold `zeroBits :: Int` and
      `zeroBits :: Integer`; `ghc -show-iface` shows
      
        $fBitsInt_$czeroBits :: GHC.Types.Int
           {- Strictness: m,
              Unfolding: (GHC.Types.I# (GHC.Prim.andI# 1 (GHC.Prim.notI# 1))) -}
      
      Otoh, constant-folding works as expected, reducing `zeroBits` to 0 constant
      for the other integer-types (= {Word,Int}{8,16,32,64}` and `Word`). So this
      quickfix is actually just treating the symptom rather than the cause.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      0d66095d
  4. 28 Feb, 2014 1 commit
  5. 21 Feb, 2014 1 commit
  6. 19 Feb, 2014 1 commit
  7. 30 Jan, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Improve Haddock markup · cc4ba35f
      Herbert Valerio Riedel authored
      
      
      This fixes the markup at the top of `Control.Arrow`, and improves the
      markup inside DEPRECATED strings.
      
      (Haddock supports markup inside DEPRECATED messages, which allows to
      turn references to Haskell entities into hyperlinks by using the usual
      Haddock markup.)
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      cc4ba35f
  8. 24 Nov, 2013 1 commit
  9. 22 Sep, 2013 1 commit
  10. 21 Sep, 2013 3 commits
  11. 18 Sep, 2013 3 commits
  12. 17 Sep, 2013 2 commits
  13. 16 Feb, 2013 1 commit
  14. 15 Feb, 2013 1 commit
  15. 27 Oct, 2012 1 commit
    • ian@well-typed.com's avatar
      Remove commented types in module export lists · fda30027
      ian@well-typed.com authored
      These comments are rather less useful now that haddock can give docs
      with the same informatino in the module synopsis.
      
      Having to maintain them when making changes to the library is a pain,
      and when people forget about doing so there is nothing that checks that
      the comments are right, so mistakes tend to linger.
      
      Of the comments that my script detected, 78 of 684 were already
      incorrect in one way or another, e.g. missing context:
          Text.Show.showsPrec
          Comment type: Int -> a -> ShowS
          Actual type:  Show a => Int -> a -> ShowS
      wrong context:
          Numeric.readInt
          Comment type: Integral a => a -> (Char -> Bool) -> (Char -> Int) -> ReadS a
          Actual type:  Num a => a -> (Char -> Bool) -> (Char -> Int) -> ReadS a
      not following a class change (e.g. Num losing its Eq superclass):
          Text.Read.Lex.readOctP
          Comment type: Num a => ReadP a
          Actual type:  (Eq a, Num a) => ReadP a
      not following the Exceptions change:
          GHC.Conc.childHandler
          Comment type: Exception -> IO ()
          Actual type:  SomeException -> IO ()
      or just always been wrong:
          GHC.Stable.deRefStablePtr
          Comment type: StablePtr a -> a
          Actual type:  StablePtr a -> IO a
      fda30027
  16. 25 Oct, 2012 1 commit
  17. 23 Sep, 2012 2 commits
  18. 05 Aug, 2012 1 commit
  19. 21 May, 2012 1 commit
  20. 14 Feb, 2012 2 commits
  21. 14 Jan, 2012 1 commit
  22. 08 Nov, 2011 1 commit
    • tibbe's avatar
      Add unsafeShift to Data.Bits · f1c593e0
      tibbe authored
      This allows shifting by a non-statically known amount without
      introducing a branch (to check for "overflow").
      f1c593e0
  23. 26 Oct, 2011 1 commit
  24. 12 Oct, 2011 1 commit
  25. 25 Aug, 2011 1 commit
  26. 28 Jul, 2011 1 commit
  27. 18 Jun, 2011 1 commit
  28. 28 Jan, 2011 1 commit
  29. 12 Nov, 2010 1 commit
  30. 14 Jul, 2010 1 commit
  31. 29 Oct, 2009 1 commit
  32. 09 Oct, 2009 1 commit
  33. 21 Jul, 2009 1 commit