|Did you know ...||Search Documentation:|
|Sample code (version 2)|
A3 is A1+A2, converting the sum to an integer if possible.
bagof(Sqrt, X^(between(0,4,X), Sqrt is sqrt(X)), A2).
contains a simple program that calls the Prolog predicate likes/2
predicates are defined in
The usage and how to compile the code are in comments in