head.fl: Access the head of a functional list

Description Usage Arguments Value

Description

Our first selector. Like tail and is_empty, it uses an anonymous function that returns a particular component of the functional list. Here that component is the functional list's head.

Usage

1
2
## S3 method for class 'fl'
head(x, ...)

Arguments

x

A function, with class fl, that operates as a functional list object

...

Additional arguments to head (for argument consistency)

Value

The element stored in the head argument of the functional list


michaelquinn32/lambdaList documentation built on May 22, 2019, 9:52 p.m.