开发者

Identity function in Scheme

开发者 https://www.devze.com 2023-02-09 19:15 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消