visitList

open override fun visitList(node: ListNode): Term

Converts list items and an optional explicit tail to a tuProlog logic list.