diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-07-17 17:25:10 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-07-17 17:25:10 -0700 |
commit | 7c766a43a77845ed1af5a0e5367e7a21edf13a8f (patch) | |
tree | 21911b3d9a25d4cc74dca3f831a635929428b993 /Test/hofs/Fold.dfy | |
parent | fc6ebea9b9ec614e4e014c64d9cad7940deb86fb (diff) | |
parent | 61a5be0930c43694d270809ed5550c74b6e59e5d (diff) |
Merge my autoTriggers work into the master branch
This contains trigger related things under the autoTriggers flag (disabled by
default), and some bug-fixes and cleanups that are already enabled.
Diffstat (limited to 'Test/hofs/Fold.dfy')
-rw-r--r-- | Test/hofs/Fold.dfy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/hofs/Fold.dfy b/Test/hofs/Fold.dfy index 6ca2d3b1..9bcd9e02 100644 --- a/Test/hofs/Fold.dfy +++ b/Test/hofs/Fold.dfy @@ -13,7 +13,7 @@ function method Eval(e : Expr): int case Lit(i) => i } -function method Fold(xs : List<A>, unit : B, f : (A,B) -> B): B +function method Fold<A,B>(xs : List<A>, unit : B, f : (A,B) -> B): B reads f.reads; requires forall x, y :: x < xs ==> f.requires(x,y); { |