annotate tests/disjoint.ur @ 2237:e79ef5792c8b

Fix bug in redundancy checking and use finer formula for UPDATE statements.
author Ziv Scully Sun, 05 Jul 2015 23:57:28 -0700 71bafe66dbe1
rev   line source
adamc@86 1 con c1 = fn x :: Name => [x] ~ [A] => [x = int, A = string]
adamc@84 2 con c2 = fn x :: Name => [x] ~ [A] => [A, x]
adamc@84 3 con c3 = fn x :: Name => [A] ~ [x] => [x, A]
adamc@84 4 con c4 = fn x :: Name => [A] ~ [x] => [A, x]
adamc@84 6 con c5 = fn r1 :: {Type} => fn r2 => r1 ~ r2 => r1 ++ r2
adamc@84 7 con c6 = fn r1 :: {Type} => fn r2 => r2 ~ r1 => r1 ++ r2
adamc@86 9 con c7 = fn x :: Name => fn r => [x] ~ r => [x = int] ++ r
adamc@86 11 val vt1 = fn x : \$(c1 #B) => x.B
adamc@86 12 val vt2 = fn x : \$(c1 #B) => x.A
adamc@86 13 val vt3 = fn x : \$(c1 #C) => x.A
adamc@86 14 val vt4 = fn x : \$(c1 #C) => x.A
adamc@86 16 val vtX = fn x : \$(c1 #A) => x.A
adamc@86 17 val vtX = fn x : \$(c1 #A) => x.A
adamc@85 20 val v1 = fn x :: Name => fn [x] ~ [A] => fn y : {x : int, A : string} => y.x
adamc@86 22 val vt5 = v1 [#B] {A = "Hi", B = 0}