X,Y
denotes the term ','(X,Y) in standard
syntax.
(X)
denotes simply the term X.
{X}
denotes the term {}(X) in standard syntax.
-3 denotes a number whereas -(3)
denotes a compound term that has - /1 as its
principal functor.