Skip to content

Commit f524062

Browse files
authored
Merge pull request #2961 from rotu/patch-5
Document `when/2` Condition
2 parents eb29390 + 49b30e9 commit f524062

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/when.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
%% when(Condition, Goal).
2020
%
2121
% Executes Goal when Condition becomes true.
22+
% Condition may consist of `ground(T)`, `nonvar(T)`, `C1,C2`, `C1;C2`.
2223
when(Condition, Goal) :-
2324
( when_condition(Condition) ->
2425
( Condition ->

0 commit comments

Comments
 (0)