list_get_n: Get a new list containing the first n elements of a list.

Description Usage Arguments Value

Description

Get a new list containing the first n elements of a list.

Usage

1
list_get_n(lst, n)

Arguments

lst

A list

n

the number of elements to get

Value

a new list containing the first n elements of lst.


mailund/ralgo documentation built on May 21, 2019, 11:07 a.m.