applicative 

76297
单词释义
adj.可应用的;适(实)用的
词根词缀记忆/谐音联想记忆 补充/纠错
单词例句
Applicative functors allow us to apply functions to arguments inside a context.
应用泛型允许我们将函数应用于上下文中的参数。
In Haskell, the `(<$>)` operator is used for applying a function to the value inside a functor.
在Haskell中,`(<$>)`运算符用于将函数应用于functor内部的值。
The `pure` function in applicative functors can be used to lift values into the functor context.
应用性泛函中的`pure`函数可用于将值提升到泛型上下文中。
Applicative functors provide a way to sequence computations that may depend on each other.
应用性泛函提供了一种方式来顺序执行可能相互依赖的计算。
The `liftA2` function in applicative functors allows us to apply a binary function to two arguments in a functor context.
应用性泛函中的`liftA2`函数允许我们将二元函数应用于泛型上下文中的两个参数。
In functional programming, applicative functors are often used for handling errors and side effects.
在函数式编程中,应用性泛函通常用于处理错误和副作用。
The `sequence` function in applicative functors allows us to apply a list of functions to a list of arguments and collect the results in a tuple.
应用性泛函中的`sequence`函数允许我们将函数列表应用于参数列表,并将结果收集在元组中。
Applicative functors can be used to implement the Reader monad, which is used for pure computation with side effects.
应用性泛函可以用于实现Reader单子,它用于带有副作用的纯粹计算。
The `liftA` family of functions in applicative functors allows us to generalize the application of functions over any number of arguments.
应用性泛函中的`liftA`函数家族允许我们泛化函数在任何数量的参数上的应用。
Applicative functors provide a powerful abstraction for working with computations that produce values inside a context.
应用性泛函为处理产生上下文内值的计算提供了一个强大的抽象。
未经许可,严禁转发。QQ交流群:688169419
0
0