Skip to content

listMoviesByRank(DB, L) placeholder needs adjustment in pre.pl of Ex7 #8

@Archer6621

Description

@Archer6621

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions