Liking cljdoc? Tell your friends :D

sepl.utils


add-stepsclj

(add-steps new-steps steps {:keys [stack depth] :as source-step} s11n-fn)

Add new steps to current steps.

Add new steps to current steps.
sourceraw docstring

assert-sepl-computation-thresholdsclj

(assert-sepl-computation-thresholds
  {:keys [iterations max-depth start-time computations] :as tracker}
  max-iterations
  max-computation-depth
  max-duration)

Safe-guard against infinite executions.

Safe-guard against infinite executions.
sourceraw docstring

current-time-msclj

(current-time-ms)

A convenience wrapper around System/currentTimeMillis meant to help with time-sensitive tests (easy mocking).

A convenience wrapper around System/currentTimeMillis
meant to help with time-sensitive tests (easy mocking).
sourceraw docstring

report-doneclj

(report-done tracker)

Log debug.

Log debug.
sourceraw docstring

report-long-stepclj

(report-long-step step more-steps tracker io)

Log warnings.

Log warnings.
sourceraw docstring

update-trackerclj

(update-tracker)
(update-tracker tracker {:keys [type depth] :as step})

Follow various metrics.

Follow various metrics.
sourceraw docstring

verbosely-failclj

(verbosely-fail step original-args side-effect? f)

Returns a fn which applies provided f onto args, and returns the outcome. In case of Error, throws a wrapped Exception with helpful data.

Returns a fn which applies provided f onto args, and returns
the outcome. In case of Error, throws a wrapped Exception
with helpful data.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close