@RainerJoswig如果不是它们按顺序绑定,那么对于 Clojure `let` 和 `loop` 使用映射文字 `{...}` 而不是向量文字 `[...]` 可能更合乎逻辑`。(2认同)
但是比common lisp还是要精简不少。随着时间我们看到Clojure的语法设计异常稳定,从早期版本到现在,一直保...
有人觉得spec长的很罗嗦,不过Lisp里面你总是可以把东西变成自己喜欢的样子。拒绝高级特性像Common Lisp的...
更准确地说,当翻译成机器语言时,这通常会翻译成某种类型的跳转。一些编译为本机代码(例如SBCL)的Common Lisp和Scheme编译器可以识别尾递归代码并执行此转换。基于JVM的Lisp,比如Clojure和ABCL,很难做到这一点。JVM作为一台机器,是什么阻止或使这一点变得困难...
Common Lisp already has a sequence library, but I think Clojure’s is more general and can be trivially extended to new types. Common Lisp’s irrational locking down of SEQUENCE is a hurdle here. The HYPERSPEC will never be updated in my lifetime :) So generic functions are the current ...
Clojure简介与应用.pdf Clojure简介与应用 郝林(@特价萝卜)“我的搜狐”技术团队成员 2012年7月
看过"黑客与画家"之后,你是不是对Lisp心动不已?然后翻了几页ACL(Ansi Common Lisp)又望而却步?叹息:如果有一天可以再.Net CLR 上写Lisp代码那就好了!这一天已经来了,这就是Clojure CLR.看语言转换矩阵, Clojure的寄生能力超强,这方面甚至超过javascript.在CLR上有一席之地不足为怪. &nbs... ...
给定一个函数对象或名称,我如何确定它的数量?类似于(arity func-name)。 我希望有办法,因为数量在 Clojure 中非常重要 请您参考如下方法: 函数的元数存储在变量的元数据中。 (:arglists (meta #'str)) ;([] [x] [x & ys]) 这要求函数是使用defn定义的,或者是显式提供的:arglists元数据。
Next, I would read:Clojure Programming: Practical LISP For The Java Worldby Chas Emerick, Brian Carper, and Christophe Grand. It has great examples of how to solve common problems, like connecting to a database, building a web server, etc. ...
ANSI Common Lisp 9.1 Parallel and Concurrent Programm... 9.9 Texturing and Modeling, Third Editi... 9.3 Functional Programming Patterns i... GPU Gems 2 9.1 Metaprogramming Ruby 9.4 Windows核心编程 9.0 我来说两句 短评 ··· ( 全部12 条 ) 热门 1 有用 hetao.net 2015-12-...