Skip to content

Wrong result in append with appended tail element #27

Description

@LhKipp

Code:

The output of SWI-Prolog for the query: append([a], [b|Xs], Zs). is:
Zs = [a, b|Xs].

The output of Prolog_BFS is:
[Zs / [a,b|X]] [Xs / Xs]

[Xs / Xs] should not be shown. Furthermore it is questionable why |X is shown and not |Xs.

If possible, the output of Prolog_BFS should be the same as the output of SWI-Prolog.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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