Function Entry: VLE-LIST-DIFF

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VLE-LIST-DIFF

Name

vle-list-diff

Class

BricsCAD VLE Library Function

Syntax

(vle-list-diff lst1 lst2)

Arguments and Values

  • lst1 list to be compared against 'lst2'
  • lst2 list to
  • be compared against 'lst1'

Description

returns the "list difference" of 2 lists, containing all items, which are member of either 'lst1' or 'lst2', but not member of both lists

Return Values

a list containing all items which are unique for their owner lists; in other words, which are not member of both lists

Examples

(vle-list-diff '(1 2 3 3 4)
'(3 4 5 6))  => '(1 2 5 6)

(vle-list-diff '(1 2 3 3 4) '(5 6 7 8))
 => '(1 2 3 3 4 5 6 7 8)

(vle-list-diff '(1 2 3 3 4) nil)  =>
'(1 2 3 3 4)

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes