[ Källkod: slingshot-clojure ]
Paket: libslingshot-clojure (0.12.2-3)
Länkar för libslingshot-clojure
Debianresurser:
Hämta källkodspaketet slingshot-clojure:
- [slingshot-clojure_0.12.2-3.dsc]
- [slingshot-clojure_0.12.2.orig.tar.gz]
- [slingshot-clojure_0.12.2-3.debian.tar.xz]
Ansvariga:
- Debian Clojure Maintainers (QA-sida, E-postarkiv)
- Utkarsh Gupta (QA-sida)
- Apollon Oikonomopoulos (QA-sida)
Externa resurser:
- Hemsida [github.com]
Liknande paket:
Enhanced throw and catch library for Clojure
Slingshot is a Clojure library providing enhanced throw and catch replacements try+ and throw+.
Each is 100% compatible with Clojure's and Java's native try and throw both in source code and at runtime. Each also provides new capabilities intended to improve ease of use by leveraging Clojure's features like maps, records, and destructuring. Among them:
* throw+ can throw any Java object, not just those whose class is derived from java.lang.Throwable (e.g. Clojure maps or records)
* catch clauses within try+ can catch any Java object thrown by throw+, Clojure's throw, or Java's throw
* selectors in catch clauses allow matching on class name, key-value vectors, predicates and more
* Information about the context of a throw site is accessible via a hidden argument that includes information on, for example, the caught object, exception messages and stack traces
Andra paket besläktade med libslingshot-clojure
|
|
|
|
-
- dep: libclojure-java
- Lisp dialect for the JVM (library)
Hämta libslingshot-clojure
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 19,5 kbyte | 54,0 kbyte | [filförteckning] |