A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw70/CLHS/Body/f_identi.htm below:

CLHS: Function IDENTITY

Function IDENTITY

Syntax:

identity object => object

Arguments and Values:

object---an object.

Description:

Returns its argument object.

Examples:

 (identity 101) =>  101
 (mapcan #'identity (list (list 1 2 3) '(4 5 6))) =>  (1 2 3 4 5 6)

Side Effects: None.

Affected By: None.

Exceptional Situations: None.

See Also: None.

Notes:

identity is intended for use with functions that require a function as an argument.

(eql x (identity x)) returns true for all possible values of x, but (eq x (identity x)) might return false when x is a number or character.

identity could be defined by

(defun identity (x) x)

Copyright 1996-2005, LispWorks Ltd. All rights reserved.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4