-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
This might require base-4.10.0.0 to use Type Reflection and split a type into its kind size.
https://hackage.haskell.org/package/base-4.10.1.0/docs/Type-Reflection.html
proxyToTypeRep :: forall a. (Typeable a) => Proxy a -> TypeRep a
proxyToTypeRep Proxy = typeRep @a
typeRepKind $ proxyToTypeRep (Proxy :: Proxy Maybe)Reactions are currently unavailable