Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

list

list( 
[ g_arg1 g_arg2 ... ] 
) 
=> l_result / nil 

Description

Creates a list with the given elements.

Arguments

g_arg1

Element to be added to a list.

g_arg2

Additional elements to be added to a list

Value Returned

l_result

List whose elements are g_arg1, g_arg2, and so on.

nil

No arguments are given.

Examples

list(1 2 3)     
=> (1 2 3)
list('a 'b 'c)  
=> (a b c)

Related Topics

car

cdr

cons

listp

tconc


Return to top
 ⠀
X