非常教程

Clojure 1.8参考手册

Clojure 1.8

clojure.stacktrace

完整的命名空间名称:Clojure。栈迹

概述

Print stack traces oriented towards Clojure, not Java.

公共变量和函数

E函数

Usage: (e)
REPL utility.  Prints a brief stack trace for the root cause of the
most recent exception.

在Clojure版本1.1中添加

来源

打印原因跟踪函数

Usage: (print-cause-trace tr)
       (print-cause-trace tr n)
Like print-stack-trace but prints chained exceptions (causes).

在Clojure版本1.1中添加

来源

打印堆栈跟踪函数

Usage: (print-stack-trace tr)
       (print-stack-trace tr n)
Prints a Clojure-oriented stack trace of tr, a Throwable.
Prints a maximum of n stack frames (default: unlimited).
Does not print chained exceptions (causes).

在Clojure版本1.1中添加

来源

打印函数

Usage: (print-throwable tr)
Prints the class and message of a Throwable.

在Clojure版本1.1中添加

来源

打印微量元素函数

Usage: (print-trace-element e)
Prints a Clojure-oriented view of one element in a stack trace.

在Clojure版本1.1中添加

来源

根因果函数

Usage: (root-cause tr)
Returns the last 'cause' Throwable in a chain of Throwables.

在Clojure版本1.1中添加

来源

Clojure 1.8

Clojure 是一种运行在 Java 平台上的 Lisp 方言,Lisp 是一种以表达性和功能强大著称的编程语言,但人们通常认为它不太适合应用于一般情况,而 Clojure 的出现彻底改变了这一现状。如今,在任何具备 Java 虚拟机的地方,您都可以利用 Lisp 的强大功能。

版本 1.8
发布版本 1.8

Clojure 1.8目录

1.Clojure 1.8