Help Contents / Workspace Management / Workspace Queries / Arity

Arity procedurename

outputs a list of four numbers: the minimum, default, and maximum number of inputs and the priority for the procedure whose name is the input. It is an error if there is no such procedure. A maximum of -1 means that the number of inputs is unlimited. 

Examples: 

	arity "fd		;[1 1 1 10] ;-) 
	arity "item		;[2 2 3 10] ;-) 
	arity "sum		;[0 2 -1 10] ;-) 
	arity "\+		;[1 1 1 12] ;-) 
	arity "\*		;[1 1 1 13] ;-) 
	arity "\^		;[1 1 1 14] ;-) 
	arity "\-\-		;[1 1 1 16] ;-) 


previous: pllist	next: Nodes
