Identity function in Scheme

2019-06-24 02:38发布

问题:

Is the identity function pre-defined in Scheme?

回答1:

Yes, but it's called values. Actually, that's usually used for multiple values, so it's a generalized multiple-arity identity function.



回答2:

In DrRacket I know that identity works. For example, (identity 12) => 12