Identity function in Scheme
Is开发者_StackOverflow中文版 the identity function pre-defined in Scheme?
Yes, but it's called values
. Actually, that's usually used for multiple values, so it's a generalized multiple-arity identity function.
In DrRacket I know that identity
works. For example, (identity 12) => 12
精彩评论