]> Repositorios git - scryer-prolog.git/commit
ADDED: list_to_set/2, using the first occurrence of each element
authorMarkus Triska <[email protected]>
Wed, 15 Apr 2020 15:49:01 +0000 (17:49 +0200)
committerMarkus Triska <[email protected]>
Wed, 15 Apr 2020 16:04:01 +0000 (18:04 +0200)
commit2c96420bc4f3c0db006b775b911e87d3c9aa43c1
tree503cba9379f129f6804686a8afd8c7201c1aff00
parent023ee688d395e37382d526958d999d12e77af728
ADDED: list_to_set/2, using the first occurrence of each element

Example:

    ?- list_to_set([B,a,b,a,B,A,b,A], Ls).
       Ls = [B,a,b,A]
    ;  false.
src/prolog/lib/lists.pl