Why Download Tutorial Reference

Lists

tl

Packagebios
Source file(native)
NatureFunction
Typefun list a1 -> list a1

Usage

tl

Type
list a1 A list
list a1 The list without its first element

Description

This function complements the function hd. It returns the list without its first element, or nil if is empty.

> tl 1:2:3:nil 
-> list Int: 
   Int: 2 (0x3) 
   Int: 3 (0x2) 

Seen in

On the same topic