One-Sentence Function Definitions
If a function definition contains a single sentence
Snt
, i.e. has the form
Fname \{ Snt; };
it can be abbreviated to
Fname Snt;
For example, the above definition of the function
SumSq
can be rewritten as
SumSq sX sY = <Add <Mult sX sX> <Mult sY sY>>;
Parent topic:
Functions Defined in the Program