This appears to be the same (small) set of instructions repeated four times.
|Did you know ...||Search Documentation:|
For example, a function macro which doubles its argument might expand this
user:function_expansion(double(X), Y, Y is 2*X). main :- V = 9, format('~p times 2 is ~p~n', [V, double(V)]).
into this == main :- V = 9, A is 2*V, format('~p times 2 is ~p~n', [V, A]). == Mathematical constants might be implemented like == user:function_expansion(pi, 3.14159, true). ==