Haskell是一个“纯函数式” (purely functional) 的说话,所有的“副感化”(side-effect),比如打印字符到屏幕,都得用一种故作高深的概念叫 monad 实现。
基于24个网页-相关网页
若要切换到纯函数式开发,开发人员必须转变开发思路和方法。
To switch to developing in a pure functional style, they have to make a transition in their thinking and their approach to development.
相反的,用纯函数式语言编写的程序在并发自主的进程中通过传递消息来通信。
Instead, programs written in pure functional languages communicate by passing messages between concurrent, autonomous processes.
采用纯函数式语义来开发基于PHP的Web应用程序,违背了该语言的最初动机。
Developing PHP-based Web applications using purely functional semantics goes against the original intent of the language.
应用推荐