shithub: MicroHs

ref: b4a7a0d4c04ad0fb96d0b279d35da2658d58a0e1
dir: /lib/Data/Typeable.hs-boot/

View raw version
module Data.Typeable where
import Prelude()
import Data.Char_Type
import Data.Maybe_Type

type  Typeable :: forall k . k -> Constraint
class Typeable a where
  typeRep :: forall proxy . proxy a -> TypeRep

data TypeRep
mkTyConApp :: TyCon -> [TypeRep] -> TypeRep

data TyCon
mkTyCon :: String -> String -> TyCon

cast :: forall a b. (Typeable a, Typeable b) => a -> Maybe b