| |||||||||||
| appends two lists to a third one.
append(?FirstList, ?SecondList, ?ThirdList)
append/3 retrieves by backtracking all lists such that
the concatenation of FirstList with SecondList results in ThirdList.
Arguments
FirstList list SecondList list ThirdList list
Examples
Standard
This predicate is not part of the ISO-Prolog Standard.
See alsomember/2, reverse/2/3, sort/2. merge_sort/2. | |||||||||||
| |||||||||||
| Back> |
|