Currying In Short

Let f(x,y) = y/x

Let g(y) = f(2,y) = y/2
Example : g(3) = f(2,3) = 3/2

Let h(x) = y |-> f(x,y)
Example : g(y) = h(2) = y |-> f(2,y)

 

full version is in https://en.wikipedia.org/wiki/Currying

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s