Programming clojure – Recursion and Lazy-seq

摘要: 5.1 Functional Programming Concepts The Six Rules Although the benefits of FP are compelling, FP is a wholesale change from the imperative programming style that dominates much of the programmin... 阅读全文
posted @ 2013-02-07 18:20 fxjwind 阅读(543) 评论(0) 推荐(0)

Practical Clojure - Functional Programming Techniques

摘要: 对于通用FP技术的介绍, 参考FP基础此处主要描述这些FP技术特性, 在clojure中的实现First-Class Functions, 一类公民Function作为FP中最基本的元素, 是构成所有其他的基石, 所以是一类公民...什么是first-class?It can be created on demand. It can be stored in a data structure. It can be passed as an argument to a function. It can be returned as the value of a funct... 阅读全文
posted @ 2013-02-07 18:18 fxjwind 阅读(335) 评论(0) 推荐(0)