ghc-heap 9.6.6 → 9.8.1
raw patch · 3 files changed
+4/−4 lines, 3 filesdep ~containersdep ~ghc-primPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: containers, ghc-prim
API changes (from Hackage documentation)
- GHC.Exts.Heap: AddrClosure :: PrimType -> !Int -> GenClosure b
+ GHC.Exts.Heap: AddrClosure :: PrimType -> !Ptr () -> GenClosure b
- GHC.Exts.Heap: Box :: Any -> Box
+ GHC.Exts.Heap: Box :: (Any :: Type) -> Box
- GHC.Exts.Heap: [addrVal] :: GenClosure b -> !Int
+ GHC.Exts.Heap: [addrVal] :: GenClosure b -> !Ptr ()
- GHC.Exts.Heap: type EntryFunPtr = FunPtr (Ptr () -> IO (Ptr ()))
+ GHC.Exts.Heap: type EntryFunPtr = FunPtr Ptr () -> IO Ptr ()
- GHC.Exts.Heap.Closures: AddrClosure :: PrimType -> !Int -> GenClosure b
+ GHC.Exts.Heap.Closures: AddrClosure :: PrimType -> !Ptr () -> GenClosure b
- GHC.Exts.Heap.Closures: Box :: Any -> Box
+ GHC.Exts.Heap.Closures: Box :: (Any :: Type) -> Box
- GHC.Exts.Heap.Closures: [addrVal] :: GenClosure b -> !Int
+ GHC.Exts.Heap.Closures: [addrVal] :: GenClosure b -> !Ptr ()
- GHC.Exts.Heap.InfoTable.Types: type EntryFunPtr = FunPtr (Ptr () -> IO (Ptr ()))
+ GHC.Exts.Heap.InfoTable.Types: type EntryFunPtr = FunPtr Ptr () -> IO Ptr ()
Files
- GHC/Exts/Heap.hs +1/−1
- GHC/Exts/Heap/Closures.hs +1/−1
- ghc-heap.cabal +2/−2
GHC/Exts/Heap.hs view
@@ -120,7 +120,7 @@ instance Addr# ~ a => HasHeapRep (a :: TYPE 'AddrRep) where getClosureData x = return $- AddrClosure { ptipe = PAddr, addrVal = I# (unsafeCoerce# x) }+ AddrClosure { ptipe = PAddr, addrVal = Ptr x } instance Float# ~ a => HasHeapRep (a :: TYPE 'FloatRep) where getClosureData x = return $
GHC/Exts/Heap/Closures.hs view
@@ -329,7 +329,7 @@ -- | Primitive Addr | AddrClosure { ptipe :: PrimType- , addrVal :: !Int }+ , addrVal :: !(Ptr ()) } -- | Primitive Float | FloatClosure
ghc-heap.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: ghc-heap-version: 9.6.6+version: 9.8.1 license: BSD-3-Clause license-file: LICENSE maintainer: libraries@haskell.org@@ -23,7 +23,7 @@ default-language: Haskell2010 build-depends: base >= 4.9.0 && < 5.0- , ghc-prim > 0.2 && < 0.11+ , ghc-prim > 0.2 && < 0.12 , rts == 1.0.* , containers >= 0.6.2.1 && < 0.7