query
On this page

id

lib.trivial.id

Docs pulled from | This Revision | 11 minutes ago


The identity function For when you need a function that does “nothing”.

Inputs

x

The value to return

Type

id :: a -> a

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

id = x: x;