Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class LPId (r :: RuntimeRep) where
Documentation
class LPId (r :: RuntimeRep) where Source #
Levity polymorphic id function. Doesn't cover all runtime reps, in particular unboxed products and sums. Handles linearity as well.
Instances
LPId 'LiftedRep Source # | |
LPId 'UnliftedRep Source # | |
Defined in Graph.Trace.Internal.RuntimeRep lpId :: forall (a :: TYPE 'UnliftedRep). a -> a Source # | |
LPId 'IntRep Source # | |
LPId 'Int8Rep Source # | |
LPId 'Int16Rep Source # | |
LPId 'Int32Rep Source # | |
LPId 'Int64Rep Source # | |
LPId 'WordRep Source # | |
LPId 'Word8Rep Source # | |
LPId 'Word16Rep Source # | |
LPId 'Word32Rep Source # | |
LPId 'Word64Rep Source # | |
LPId 'AddrRep Source # | |
LPId 'FloatRep Source # | |
LPId 'DoubleRep Source # | |