漂亮的打印在Clojure [英] Pretty print in Clojure
本文介绍了漂亮的打印在Clojure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Clojure中有一个漂亮的打印函数,它将以人类可读的方式输出数据结构,如列表和结构体。
Is there a pretty printing function in Clojure that would output data-structures like lists and structs in a human-readable way?
推荐答案
现在clojure-contrib有一个pprint函数。
clojure-contrib now has a pprint function.
API文档位于 http://richhickey.github.com/clojure-contrib/pprint-api.html
这篇关于漂亮的打印在Clojure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文