You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way it might return X=placeholder when queried, which is more in line with the other pre-definitions. db/1 is defined anyway in database.pl of Ex7. At the moment it rather complains about an impossible unification here, while the others don't do this.
The text was updated successfully, but these errors were encountered:
Current:
listMoviesByRank(DB, L) :- DB=placeholder, L=placeholder.
Proposed:
listMoviesByRank(DB, L) :- db(DB), L=placeholder.
This way it might return X=placeholder when queried, which is more in line with the other pre-definitions.
db/1
is defined anyway in database.pl of Ex7. At the moment it rather complains about an impossible unification here, while the others don't do this.The text was updated successfully, but these errors were encountered: