view lib/top.urs @ 327:3a57f3b3a3f8

Fix bug in subsignature check for con synonyms
author Adam Chlipala <adamc@hcoop.net>
date Thu, 11 Sep 2008 18:36:20 -0400
parents e457d8972ff1
children eec65c11d3e2
line wrap: on
line source
con mapTT = fn f :: Type -> Type => fold (fn nm t acc => [nm] ~ acc =>
        [nm = f t] ++ acc) []

val compose : t1 ::: Type -> t2 ::: Type -> t3 ::: Type
        -> (t2 -> t3) -> (t1 -> t2) -> (t1 -> t3)

val txt : t ::: Type -> ctx ::: {Unit} -> use ::: {Type} -> show t -> t
        -> xml ctx use []