Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Support for GHC 9 in basement #549

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v1
- name: Install Stack
if: matrix.config.os != 'ubuntu-latest'
run: curl -sSL https://get.haskellstack.org/ | sh

- name: cache programs
id: cache-programs
Expand Down
3 changes: 2 additions & 1 deletion basement/Basement/Block/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ module Basement.Block.Base
, unsafeRecast
) where

import GHC.Prim
import GHC.Exts (unsafeCoerce#)
import GHC.Prim hiding (unsafeCoerce#)
import GHC.Types
import GHC.ST
import GHC.IO
Expand Down
3 changes: 2 additions & 1 deletion basement/Basement/BoxedArray.hs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ module Basement.BoxedArray
, builderBuild_
) where

import GHC.Prim
import GHC.Exts (unsafeCoerce#)
import GHC.Prim hiding (unsafeCoerce#)
import GHC.Types
import GHC.ST
import Data.Proxy
Expand Down
2 changes: 1 addition & 1 deletion basement/Basement/FinalPtr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Basement.FinalPtr
) where

import GHC.Ptr
import GHC.ForeignPtr
import GHC.ForeignPtr hiding (FinalPtr)
import GHC.IO
import Basement.Monad
import Basement.Compat.Primitive
Expand Down
3 changes: 2 additions & 1 deletion basement/Basement/Monad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ import GHC.ST
import GHC.STRef
import GHC.IORef
import GHC.IO
import GHC.Prim
import GHC.Exts (unsafeCoerce#)
import GHC.Prim hiding (unsafeCoerce#)
import Basement.Compat.Base (Exception, (.), ($), Applicative, Monad)

-- | Primitive monad that can handle mutation.
Expand Down