head: Returns the first element of a list. Unsafe! I.e. expects a...

View source: R/Data.List.r

headR Documentation

Returns the first element of a list. Unsafe! I.e. expects a non-empty list, or will throw an error.

Description

head :: [a] -> a

Usage

head(xs)

Arguments

xs

list


schnecki/rhaskell documentation built on Oct. 30, 2022, 10:23 a.m.