etaoin.util

connectable?

(connectable? host port)
Checks whether it's possible to connect a given host/port pair.

deep-merge

(deep-merge & vals)

defmethods

macro

(defmethods multifn dispatch-vals & fn-tail)
Declares multimethods in batch. For each dispatch value from
dispatch-vals, creates a new method.

dispatch-types

(dispatch-types & args)

error

(error msg)(error tpl & args)

exit

(exit code template & args)

get-free-port

(get-free-port)

map-or-nil?

(map-or-nil? x)

ms->sec

(ms->sec ms)

sec->ms

(sec->ms sec)

with-tmp-dir

macro

(with-tmp-dir prefix bind & body)

with-tmp-file

macro

(with-tmp-file prefix suffix bind & body)