Skip to content

Commit e40125f

Browse files
authored
Document when/2 Condition
1 parent c790bbf commit e40125f

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)