1. 16 Mar, 2021 2 commits
  2. 02 Mar, 2021 1 commit
  3. 23 Feb, 2021 1 commit
  4. 10 Feb, 2021 1 commit
  5. 09 Feb, 2021 4 commits
  6. 21 Jan, 2021 1 commit
  7. 20 Jan, 2021 1 commit
  8. 14 Dec, 2020 6 commits
  9. 27 Mar, 2020 6 commits
  10. 24 Feb, 2020 1 commit
    • Ryan Scott's avatar
      Import unsafeCoerce# from GHC.Exts, not GHC.Base · be423ce5
      Ryan Scott authored
      `attoparsec` fails to build with GHC HEAD (8.11) after
      [this commit](https://gitlab.haskell.org/ghc/ghc/commit/74ad75e87317196c600dfabc61aee1b87d95c214),
      which moves `unsafeCoerce#` from `GHC.{Base,Prim}` to `Unsafe.Coerce`:
      
      ```
      [ 5 of 21] Compiling Data.Attoparsec.Text.Buffer ( Data/Attoparsec/Text/Buffer.hs, /home/rgscott/Documents/Hacking/Haskell/staging/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200222/attoparsec-0.13.2.3/build/Data/Attoparsec/Text/Buffer.o, /home/rgscott/Documents/Hacking/Haskell/staging/dist-newstyle/build/x86_64-linux/ghc-8.11.0.20200222/attoparsec-0.13.2.3/build/Data/Attoparsec/Text/Buffer.dyn_o )
      
      Data/Attoparsec/Text/Buffer.hs:51:43: error:
          Module ‘GHC.Base’ does not export ‘unsafeCoerce#’
         |
      51 | import GHC.Base (Int(..), indexIntArray#, unsafeCoerce#, writeIntArray#)
         |                                           ^^^^^^^^^^^^^
      ```
      
      This patch fixes the issue by instead importing `unsafeCoerce#` from
      `GHC.Exts`, which has better API stability. While I was in town, I
      went ahead and switched all other `GHC.Base` imports to `GHC.Exts`
      to make the code future-proof against other `GHC.Base` API changes in
      the future.
      be423ce5
  11. 19 Jan, 2020 2 commits
  12. 25 Sep, 2019 1 commit
  13. 31 Aug, 2019 1 commit
  14. 27 Aug, 2019 2 commits
  15. 26 Aug, 2019 1 commit
  16. 13 Aug, 2019 2 commits
  17. 12 Aug, 2019 1 commit
  18. 15 May, 2019 1 commit
  19. 09 May, 2019 1 commit
  20. 02 Nov, 2018 1 commit
  21. 01 Nov, 2018 1 commit
  22. 19 Apr, 2018 1 commit
  23. 20 Mar, 2018 1 commit