packages feed

freelude-0.3.2.0 / src / Freelude / Impl / ToKind.hs

{-# LANGUAGE TypeInType #-}{-# LANGUAGE TypeFamilies #-}module Freelude.Impl.ToKind (ToType, ToKind) whereimport Data.Kind (Type)type ToType a = ToKind Type atype ToKind toK (a :: k) = ToKind' toK k atype family ToKind' toK k (a :: k) where  ToKind' k k a = a