PLOGHELP COMMA                                Chris Mellish, August 1982
                                Revised by Kathryn Seifert  October 1986

Operator to "and" two goals or to separate arguments or items in a list

    ?- X, Y.

Keywords: and, symbol, operator, argument separator


In a goal of the form

    :- X, Y.

the goal succeeds if X succeeds and then Y succeeds.

We also use commas to separate elements in lists:
    [a, list, in, prolog, syntax]
and to separate the arguments to a goal:
    ?- foo(A, B).

-- RELATED DOCUMENTATION ----------------------------------------------

PLOGHELP * SYMBOLS
 Summary and index of HELP files for symbols used in Prolog
