正在加载图片...
Curried functions Note difference between x.y.×-y and int f (int x,int y)return x-y;} 。入abstraction is a function of 1 parameter But computationally they are the same (can be transformed into each other) ·Curry:transform(x,y).x-yto入x.y.×-y Uncurry:the reverse of Curry Curried functions • Note difference between •  abstraction is a function of 1 parameter • But computationally they are the same (can be transformed into each other) • Curry: transform (x, y). x-y to x. y. x - y • Uncurry: the reverse of Curry x. y. x - y and int f (int x, int y) { return x - y;}
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有