X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=src%2FHaskWeakVars.v;h=3fb7a4bb6f775d367abd7b3e7265ea0097f1b3fc;hp=896aff4f3ea91fd95bf24685df2e5df56a5965e0;hb=2444f0cbf7ed5c744c43dbca114a4f400cd1522f;hpb=14afe39e905be69eabd8944b97bb2b731bf44939 diff --git a/src/HaskWeakVars.v b/src/HaskWeakVars.v index 896aff4..3fb7a4b 100644 --- a/src/HaskWeakVars.v +++ b/src/HaskWeakVars.v @@ -49,10 +49,10 @@ Definition tyConTyVars (tc:CoreTyCon) := Opaque tyConTyVars. Definition tyConKind (tc:TyCon) : list Kind := map (fun (x:WeakTypeVar) => x:Kind) (tyConTyVars tc). -Variable rawTyFunKind : CoreTyCon -> Kind. Extract Inlined Constant rawTyFunKind => "(coreKindToKind . TyCon.tyConKind)". +Variable rawTyFunKind : CoreTyCon -> ((list Kind) * Kind). Extract Inlined Constant rawTyFunKind => "rawTyFunKind". Definition tyFunKind (tc:TyFun) : ((list Kind) * Kind) := - splitKind (rawTyFunKind tc). + rawTyFunKind tc. Instance WeakVarToString : ToString WeakVar := { toString := fun x => toString (weakVarToCoreVar x) }.