FranticApparatus
- 授权协议: 未知
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/jkolb/FranticApparatus
- 官方下载: https://github.com/jkolb/FranticApparatus
软件介绍
FranticApparatus 是用 Swift 实现的 Promises/A+。
示例:
func fetchLinks(reddit: String) -> Promise<[Link]> {
let url = NSURL(string: baseURL + "/r/" + reddit + ".json")
return fetchJSON(url).when({ (data: NSData) -> Result<NSDictionary> in
return .Deferred(parseJSON(data))
}).when({ (json: NSDictionary) -> Result<[Link]> in
return .Deferred(mapLinks(json))
})
}
Introduction to Algorithms, 3rd Edition
Thomas H. Cormen、Charles E. Leiserson、Ronald L. Rivest、Clifford Stein / The MIT Press / 2009-7-31 / USD 94.00
Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad ......一起来看看 《Introduction to Algorithms, 3rd Edition》 这本书的介绍吧!
