Skip to content

ghc-prim: levity-polymorphic array equality ops

sheaf requested to merge sheaf/ghc:T22976 into master

This patch changes the pointer-equality comparison operations in GHC.Prim.PtrEq to work with arrays of unlifted values, e.g.

  sameArray# :: forall {l} (a :: TYPE (BoxedRep l)). Array# a -> Array# a -> Int#

Merge request reports