Common Lisp style handlers and restarts for errors.
Common Lisp style handlers and restarts for errors.
Protocols necessary for the implementation of control flow operators.
Protocols necessary for the implementation of control flow operators.
Implementation of the [[farolero.proto.Jump]] protocol for Clojure. On the JVM, only classes that extend [[Throwable]] are permitted to be thrown. In Clojure the conventional methods of extending types ([[deftype]], [[defrecord]]) don't allow extending concrete classes, which just leaves [[gen-class]]. Because this relies on [[gen-class]], it must be compiled before it is used.
Implementation of the [[farolero.proto.Jump]] protocol for Clojure. On the JVM, only classes that extend [[Throwable]] are permitted to be thrown. In Clojure the conventional methods of extending types ([[deftype]], [[defrecord]]) don't allow extending concrete classes, which just leaves [[gen-class]]. Because this relies on [[gen-class]], it must be compiled before it is used.
Implementation of the [[farolero.proto.Jump]] protocol for ClojureScript. Since JavaScript allows any kind of object to be thrown, this is a simple [[defrecord]].
Implementation of the [[farolero.proto.Jump]] protocol for ClojureScript. Since JavaScript allows any kind of object to be thrown, this is a simple [[defrecord]].
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close