Common fns required across brew-bot
Common fns required across brew-bot
(determine-boil-time hops)Given a vector of common-beer-format conforming ::hop maps, determine the longest necessary boil time for alpha acid extraction. In the case of an abnormally short boil, default to 60 minutes.
Given a vector of common-beer-format conforming ::hop maps, determine the longest necessary boil time for alpha acid extraction. In the case of an abnormally short boil, default to 60 minutes.
(determine-recipe-type fermentables)Given a vector of common-beer-format conforming ::fermentable maps, determine if the recipe is 'Extract', 'Partial Mash', or 'All Grain'
Given a vector of common-beer-format conforming ::fermentable maps, determine if the recipe is 'Extract', 'Partial Mash', or 'All Grain'
(fermentables->cbf-fermentables fermentables)Given a vector of common-beer-format conforming ::fermentable maps, convert them to a ::fermentables record
Given a vector of common-beer-format conforming ::fermentable maps, convert them to a ::fermentables record
(hops->cbf-hops hops)Given a vector of common-beer-format conforming ::hop maps, convert them to a ::hops record
Given a vector of common-beer-format conforming ::hop maps, convert them to a ::hops record
(max-n-kv m n)Given m with k-v pairs for which all values are numbers, return the n k-v pairs with the highest values
Given `m` with k-v pairs for which all values are numbers, return the `n` k-v pairs with the highest values
(min-n-kv m n)Given m with k-v pairs for which all values are numbers, return the n k-v pairs with the lowest values
Given `m` with k-v pairs for which all values are numbers, return the `n` k-v pairs with the lowest values
(yeasts->cbf-yeasts yeasts)Given a vector of common-beer-format conforming ::yeast maps, convert them to a ::yeasts record
Given a vector of common-beer-format conforming ::yeast maps, convert them to a ::yeasts record
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 |