Mercurial > urweb
view tests/cancel.ur @ 2152:2d9e40e726f2
Adjust new [assert] to work properly from top.ur
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 03 Jun 2015 09:55:37 -0400 |
parents | dfb38a333816 |
children |
line wrap: on
line source
type t = {A : int, B : float, C : string} type u = {A : int, C : string, D : bool} fun f (x : t) = x fun g (x : u) = f x fun h [ts] [ts ~ [A]] (r : $([A = int] ++ ts)) : $([A = int, B = float] ++ ts) = r