Did you know ... Search Documentation:
Using compile_time_goal/1