Turn an arbitrary unlifted type into a lifted one with a PrimUnlifted instance. For example, given
data UnliftedMaybe a :: UnliftedType where
UnliftedNothing :: UnliftedMaybe a
UnliftedJust :: a -> UnliftedMaybe a
we have
Box (UnliftedMaybe a) :: Type
Instances2PrimUnlifted, Unlifted
PrimUnlifted (Box a)Defined in primitive-unlifted-2.1.0.0 · Data.Primitive.Unlifted.Boxtype Unlifted (Box a) = aDefined in primitive-unlifted-2.1.0.0 · Data.Primitive.Unlifted.Box