Next Previous Contents

5.2 The Typeable class

To ease the construction of Dynamic values, we introduce the following type class to help working with TypeReps:

class Typeable a where
  typeOf :: a -> TypeRep


Next Previous Contents