`
limux
  • 浏览: 5609 次
  • 性别: Icon_minigender_1
  • 来自: 潍坊
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
做为Clojure的主流构建工具,在昨天Clojure1.2.0发布不到一天的时间内,Leiningen 1.3.0 也发布了。1.1.0正在用,1.2.0没有试验过,就要开始1.3.0的征程了。CHANGELOG:= 1.3.0 / 2010-08-19* Add :omit-source option to project.clj for shipping aot-only jars.* Make repl task listen on a socket as well as the command-line.* Write shell wrapper scripts at installa ...
  揭秘 Compojure - Part2 第一部分我介绍了即将做为例子的地址簿(Address Book)应用程序。 在这一部分中我们将使用Compojure建立这个程序的主要骨架。 1) 安装 Leiningen http://github.com/technomancy/leiningen/blob/master/README.md 2) 使用Leiningen创建项目 3) 在项目加入Compojure支持: a) 编辑 project.clj (defproject address_book "1.0.0-SNAP ...
I'm pleased to announce today the release of Clojure 1.2.   http://clojure.org/downloads   For maven/leiningen users, your settings to get the beta from build.clojure.org/releases are:           :dependencies [[org.clojure/clojure "1.2.0"]                    [org.clojure/clojure- ...
http://whytheluckystiff.net/articles/seeingMetaclassesClearly.html
  研究merb的源代码时,看到Merb::Config.use,其中定义了@configuration,应该是instance variable,但是use却class method,由此就引出了class instance variable。   在ruby中,object是class,class也是object,是Class的instance。所以普通的class也就可以象普通的object一样拥有instance variable,称做class instance variable。《The Ruby Programming Language》中有详细介绍。   class instan ...
Global site tag (gtag.js) - Google Analytics