diff options
author | Rustan Leino <leino@microsoft.com> | 2011-10-25 17:02:16 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2011-10-25 17:02:16 -0700 |
commit | b9fba0c917f1a5489e92af4c0ef61130329ba123 (patch) | |
tree | 2e6f7d7f4bc23cb69c3a3261946cbe70408af5c0 /Binaries | |
parent | 0c1097e880a5c81c1e3796ad2847beb224d9afbc (diff) |
Dafny: implemented compilation of parallel statements
Dafny: beefed up resolution of parallel statements
Diffstat (limited to 'Binaries')
-rw-r--r-- | Binaries/DafnyRuntime.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Binaries/DafnyRuntime.cs b/Binaries/DafnyRuntime.cs index 82de380d..e22d52ad 100644 --- a/Binaries/DafnyRuntime.cs +++ b/Binaries/DafnyRuntime.cs @@ -298,6 +298,12 @@ namespace Dafny return elmts;
}
}
+ public IEnumerable<T> UniqueElements {
+ get {
+ var st = Set<T>.FromElements(elmts);
+ return st.Elements;
+ }
+ }
public T Select(BigInteger index) {
return elmts[(int)index];
}
|