Skip to content

Commit

Permalink
Fix docstrings of Fold functions
Browse files Browse the repository at this point in the history
Signed-off-by: bugarela <[email protected]>
  • Loading branch information
bugarela authored and lemmy committed Apr 28, 2024
1 parent 3fb30f5 commit f089d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/Functions.tla
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ ExistsBijection(S,T) == Bijection(S,T) # {}

FoldFunction(op(_,_), base, fun) ==
(***************************************************************************)
(* Applies the binary function op on all elements of seq in arbitrary *)
(* Applies the binary function op on all elements of fun in arbitrary *)
(* order starting with op(f[k], base). The resulting function is: *)
(* op(f[i],op(f[j], ..., op(f[k],base) ...)) *)
(* *)
Expand All @@ -153,7 +153,7 @@ FoldFunction(op(_,_), base, fun) ==

FoldFunctionOnSet(op(_,_), base, fun, indices) ==
(***************************************************************************)
(* Applies the binary function op on the given indices of seq in arbitrary *)
(* Applies the binary function op on the given indices of fun in arbitrary *)
(* order starting with op(f[k], base). The resulting function is: *)
(* op(f[i],op(f[j], ..., op(f[k],base) ...)) *)
(* *)
Expand Down

0 comments on commit f089d21

Please sign in to comment.