Skip to content

code-at-work/curry-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curry Example

Here the video: https://youtu.be/ejj8vUjOVog

const curry2 = fn => a => b => fn(a,b)

const lt = curry2((a,b) => a<b)

const is_greater_than_3 = lt(3)

is_greater_than_3(4) // true