Did you know ... Search Documentation:
Predicate dir/1

Sorry, No manual entry for dir/1