阅读背景:

[Javascript Crocks] Apply a function in a Maybe context to Maybe inputs (curry & ap & liftA2)

来源:互联网 

Functions are first class in JavaScript. This means we can treat a function like any other data. This also means we can end up with a function as the wrapped value in a Maybe. The Maybe type gives us the ability to apply that wrapped function to other wrapped values, keeping both the value and the function in the safe confines of a Maybe.Functions are first class in JavaScript. This m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: