identity
ABSTRACT
This function returns the element it is given
IMPORTANT ELEMENT
This function is utilized heavily as a functor so that we can use sub expressions when defining certain functions (i.e. create functions that would not otherwise fit on a single line). In some sense, it also allows us to create scoped blocks present in other languages.
PARAMETERS
element | the element that will be passed through |
RETURN
the element that was passed in
DECLARATION
func identity(element)