std-iseq


Synopsis

(std-iseq <start> <end>)

Description

STD-ISEQ creates an ascending integer sequence including the start and end element.

A list of end-start+1 ascending integer numbers, beginning with start, ending with end.

Examples

(std-iseq 1 5)	=> (1 2 3 4 5)
(std-iseq 5 5)	=> (5)
(std-iseq 10 5)	=> nil

Arguments

start, end: Integer numbers. end must be greater than start.

Return Value

A list of integer numbers or nil if start > end

Side Effects

None.

Module

(std-require 'STDLIST)

Defined in STDLIST