microgroove-0.2.1.0: Array-backed extensible records
Data.Microgroove.Lib.Cast
Synopsis
cast# :: forall b a. a -> b Source #
unsafeCoerce with the type arguments flipped for easier TypeApplications
unsafeCoerce
castf# :: forall g f x. f x -> g x Source #
unsafeCoerce as a natural transformation, keeping the inner type fixed
mapCast# :: forall b f a. f a -> f b Source #
equivalent to fmap cast# but avoids traversing the datastructure
fmap cast#