The 3 basics list operators:

  •  [  beginning of a list.
  •  ]  end of a list
  •  |  head and tail separator

Example :   [monday, thuesday, wednesday].

?- [monday | Tail].

yes. Tail = [thuesday, wednesday].