uniplate-1.2.0.2: Uniform type generic traversals.

Data.Generics.PlateInternal

Description

Internal module, do not import or use.

Synopsis

Documentation

unsafeCast :: a -> bSource

unsafeCoerce, but for all compilers. In future this can be obtained from Unsafe.Coerce.unsafeCoerce, but thats too recent a change.

inlinePerformIO :: IO a -> aSource

unsafePerformIO, but suitable for inlining. Copied from Data.ByteString.Base.

builder :: forall a. (forall b. (a -> b -> b) -> b -> b) -> [a]Source

GHCs foldr/build system, but on all platforms

concatCont :: [a -> a] -> a -> aSource

Perform concatentation of continuations