humidity.utils

Utility functions for humidity calculation

?assoc

(?assoc m & kvs)

Same as assoc, but skip the assoc if v is nil. Borrowed from https://stackoverflow.com/questions/16356888/assoc-if-in-clojure

expt

macro

(expt base exponent)

Clojure.math pow function does not allow ratios as exponents; this is equivalent but coerces the exponent argument to float.