Open goldfirere opened 9 years ago
This should probably work (!):
{-# LANGUAGE TypeFamilies, PolyKinds, DataKinds, TypeOperators #-} import Data.Type.Equality type family GCastWith (eq :: a :~: b) (x :: (a ~ b) => r) :: r where GCastWith 'Refl x = x
This should probably work (!):