(flatten-trailing-map args)(flatten-trailing-map remaining-fixed args)(flatten-trailing-map flatten-fn remaining-fixed args)Given arguments to some function with remaining-fixed number of fixed args, return a lazy seq that keeps the fixed args and flattens the last map argument if there is an uneven number of remaining (variable) arguments using flatten-fn.
Done lazily in a single pass.
Given arguments to some function with remaining-fixed number of fixed args, return a lazy seq that keeps the fixed args and flattens the last map argument if there is an uneven number of remaining (variable) arguments using flatten-fn. Done lazily in a single pass.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |