Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Data.Primitive.Generic
Contents
Documentation
newtype Align (a :: Nat) t Source #
A wrapper that modify the wrapped type alignment
Constructors
Align t |
Instances
newtype GenericPrim a Source #
Derive Prim and PrimUnaligned instances
Constructors
GenericPrim a |
Instances
offsetOf :: forall t s. (Generic t, DerivePrim (Rep t), OffsetOf (DeriveTree (Rep t)) s, Assert "Field does not exist" (HasOffsetOf (DeriveTree (Rep t)) s)) => Int Source #