thunk

「thunk」的意思

n. 形实转换程序

n.铮 铛,锵

「thunk」的用法

thunk一个函数,它不立即执行,而是返回一个新的函数,这个新函数在稍后被调用时会执行原始函数。 - 在JavaScript中,thunk通常用于异步操作的延迟执行。

「thunk」的例句

A thunk is a function that takes no arguments and returns a value.

Thunk 是一个不接受参数并返回值的函数。

Thunks are often used in functional programming to delay computation.

Thunk 通常在函数式编程中用于延迟计算。

In JavaScript, thunks can be used to create asynchronous functions.

在JavaScript中,Thunk可以用来创建异步函数。

Thunks are useful for managing side effects in pure functions.

Thunk对于管理纯函数中的副作用很有用。

A thunk can be thought of as a deferred function call.

Thunk可以看作是一个延迟的函数调用。

Thunks are often used in libraries like Redux for managing state.

Thunk通常在Redux等库中用于管理状态。

In Haskell, thunks are a fundamental concept of lazy evaluation.

在Haskell中,Thunk是惰性求值的基本概念。

Thunks can be used to create higher-order functions.

Thunk可以用来创建高阶函数。

A thunk is a closure that delays the evaluation of an expression.

一个Thunk是一个闭包,它延迟了表达式的求值。

「thunk」的相关推荐

auteurism crapoid hoodlum mastigophoran recreation recrudesce
分享这个页面