diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-01 12:10:46 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-01 12:10:46 -0400 |
commit | 7628e1d8f7f8199531c9bc08a774c9a9e2bc5d63 (patch) | |
tree | 3d434c77c5ec6ac3660a553072e1c1ba26cd4665 /tests | |
parent | d28cad7cc5881018717c7e875c99c51469da9d44 (diff) |
Disjointness assumptions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/disjoint.lac | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/disjoint.lac b/tests/disjoint.lac index 4aad3db1..4fd70d63 100644 --- a/tests/disjoint.lac +++ b/tests/disjoint.lac @@ -1 +1,9 @@ -con c = fn x :: Name => [x, A] +con c1 = fn x :: Name => [x] ~ [A] => [x, A] +con c2 = fn x :: Name => [x] ~ [A] => [A, x] +con c3 = fn x :: Name => [A] ~ [x] => [x, A] +con c4 = fn x :: Name => [A] ~ [x] => [A, x] + +con c5 = fn r1 :: {Type} => fn r2 => r1 ~ r2 => r1 ++ r2 +con c6 = fn r1 :: {Type} => fn r2 => r2 ~ r1 => r1 ++ r2 + +con c7 = fn x :: Name => fn r => [x] ~ r => [x] ++ r |