javax.xml.bind.DatatypeConverter
exceptions with Java 9+promenade.type/IHolder
promenade.type/IHolder
is introduced
IDeref
clojure.lang.IDeref
is a Java interface - cannot be extended to java.lang.Throwable
promenade.type/IHolder
Throwable
(CLJ) and js/Error
(CLJS) with IThrown
and IHolder
Thrown
if already a Thrown
(true in most cases)ex-info
ex-info
promenade.util.StacklessExceptionInfo
- descendant of ExceptionInfo
promenade.util/se-info
promenade.util/se-info?
promenade.util/!se-info
promenade.util/!wrap-se-info
promenade.util/defentity
promenade.util/defailure
0.8.0
*->
, *->>
, *as->
macrosrecur
at the tail position in code body (impacting the following macros)
promenade.core/mdo
promenade.core/mlet
promenade.core/when-mlet
reduce->
, reduce->>
, reduce-as->
clojure.core/reduced
nil
as argument in bind-maybe
nothing-handler
either->
, either->>
, either-as->
maybe->
, maybe->>
, maybe-as->
trial->
, trial->>
, trial-as->
!wrap
macro to wrap functions to return thrown context on exceptionrefn
- construct a reducing function that terminates on encountering a contextrewrap
- wrap a reducing function such that it terminates on encountering a contextrequire-macros
at usage site (@awkay)doo
related namespaces into a separate directoryFailure
, Nothing
and Thrown
instances printable at the REPL
print-method
clojure.pprint/pprint
: Multi method simple-dispatch
free?
(to imply "context free" or "not context")branch
nothing
(or any context, unless the user asks for it)
mdo
(empty body)mlet
(empty body)when-mlet
(test fail, empty body)Dealing with success and failure with Either
mdo
as an equivalent of do
form
mdo
mlet
when-mlet
mfailure
mthrown
IPersistentMap
and IDeref
mlet
if-mlet
when-mlet
cond-mlet
mfailure
, mnothing
, mthrown
mlet
, if-mlet
, when-mlet
, cond-mlet
thrown
to wrap as thrownpromenade.type.IFailure
promenade.type.INothing
promenade.type.IThrown
promenade.type.IContext
deref-context
failure
(constant), nil->failure
, fail
and ex-fail
bind-either
either->
, either->>
and either-as->
nothing
(constant), nil->nothing
and void
bind-maybe
maybe->
, maybe->>
and maybe-as->
!
bind-trial
trial->
, trial->>
and trial-as->
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close