trace-embrace
Safe HaskellNone
LanguageGHC2024

Debug.TraceEmbrace.Internal.Rewrap

Synopsis

Documentation

class Rewrap (t :: TYPE r) b | t -> b where Source #

Unlifted value wrapper to be squize throughout trace function

Methods

wrap :: t -> b Source #

unwrap :: b -> t Source #

Instances

Instances details
Rewrap Double# Double Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Rewrap Float# Float Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Rewrap Int# Int Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Methods

wrap :: Int# -> Int Source #

unwrap :: Int -> Int# Source #

Rewrap (a :: Type) a Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Methods

wrap :: a -> a Source #

unwrap :: a -> a Source #

Rewrap Char# Char Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Rewrap Word# Word Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Rewrap Addr# (Ptr ()) Source # 
Instance details

Defined in Debug.TraceEmbrace.Internal.Rewrap

Methods

wrap :: Addr# -> Ptr () Source #

unwrap :: Ptr () -> Addr# Source #