Quick functions and references to ingredient data
Quick functions and references to ingredient data
(get-fermentable fermentable-key)
(get-fermentable fermentable-key default-value)
Returns the common-beer-format.hops/hop
at the given keyword.
If the keyword is not found, returns nil a la clojure.core/get
.
An optional last entry may be used to specify a default value to return if the keyword is not found.
Returns the `common-beer-format.hops/hop` at the given keyword. If the keyword is not found, returns nil a la `clojure.core/get`. An optional last entry may be used to specify a default value to return if the keyword is not found.
(get-hop hop-key)
(get-hop hop-key default-value)
Returns the common-beer-format.hops/hop
at the given keyword.
If the keyword is not found, returns nil a la clojure.core/get
.
An optional last entry may be used to specify a default value to return if the keyword is not found.
Returns the `common-beer-format.hops/hop` at the given keyword. If the keyword is not found, returns nil a la `clojure.core/get`. An optional last entry may be used to specify a default value to return if the keyword is not found.
(get-yeast yeast-key)
(get-yeast yeast-key default-value)
Returns the common-beer-format.yeasts/yeast
at the given keyword.
If the keyword is not found, returns nil a la clojure.core/get
.
An optional last entry may be used to specify a default value to return if the keyword is not found.
Returns the `common-beer-format.yeasts/yeast` at the given keyword. If the keyword is not found, returns nil a la `clojure.core/get`. An optional last entry may be used to specify a default value to return if the keyword is not found.
(select-fermentables {:keys [include-adjuncts? include-dry-extracts?
include-extracts? include-grains?
include-sugars?]})
Returns a map from keywords to common-beer-format.fermentables/fermentable
maps based on their attributes.
Legal selection keys include:
include-adjuncts?
: Whether or not to include adjuncts in the selection. Adjuncts are non-malted grain starches.include-dry-extracts?
: Whether or not to include dry extracts in the selection. Dry extracts are concentrated extracts of malted grain.include-extracts?
: Whether or not to include extracts in the selection. Extracts are liquid extracts of malted grain.include-grains?
: Whether or not to include malted grains in the selection.include-sugars?
: Whether or not to include pure sugars or sugar syrups in the selection.Returns a map from keywords to `common-beer-format.fermentables/fermentable` maps based on their attributes. Legal selection keys include: - `include-adjuncts?` : Whether or not to include adjuncts in the selection. Adjuncts are non-malted grain starches. - `include-dry-extracts?` : Whether or not to include dry extracts in the selection. Dry extracts are concentrated extracts of malted grain. - `include-extracts?` : Whether or not to include extracts in the selection. Extracts are liquid extracts of malted grain. - `include-grains?` : Whether or not to include malted grains in the selection. - `include-sugars?` : Whether or not to include pure sugars or sugar syrups in the selection.
(select-hops {:keys [include-aroma? include-bittering? include-both?]})
Returns a map from keywords to common-beer-format.hops/hop
maps based on their attributes.
Legal selection keys include:
include-aroma?
: Whether or not to include aromatic hops in the selection. Aromatic hops are hops with a low bitterness, or typically added for their essential oils.include-bittering?
: Whether or not to include bittering hops in the selection. Bittering hops are typically added for their strong, musky flavor.include-both?
: Whether or not to include hops which can be used for both aroma and bittering in the selection.Returns a map from keywords to `common-beer-format.hops/hop` maps based on their attributes. Legal selection keys include: - `include-aroma?` : Whether or not to include aromatic hops in the selection. Aromatic hops are hops with a low bitterness, or typically added for their essential oils. - `include-bittering?` : Whether or not to include bittering hops in the selection. Bittering hops are typically added for their strong, musky flavor. - `include-both?` : Whether or not to include hops which can be used for both aroma and bittering in the selection.
(select-style-guides {:keys [include-bjcp-2015?]})
Returns a map from keywords to common-beer-format.stlyes/style
maps based on their attributes.
Legal selection keys include:
include-bjcp-2015?
: Whether or not to include the BJCP 2015 style guide in the selection.Returns a map from keywords to `common-beer-format.stlyes/style` maps based on their attributes. Legal selection keys include: - `include-bjcp-2015?` : Whether or not to include the [BJCP 2015](https://www.bjcp.org/bjcp-style-guidelines/) style guide in the selection.
(select-yeasts {:keys [include-brewtek? include-dcl-fermentis?
include-lallemand? include-white-labs? include-wyeast?]})
Returns a map from keywords to common-beer-format.yeasts/yeast
maps based on their attributes.
Legal selection keys include:
include-brewtek?
: Whether or not to include yeasts manufactured by BrewTek in the selection.include-dcl-fermentis?
: Whether or not to include yeasts manufactured by Fermentis in the selection.include-lallemand?
: Whether or not to include yeasts manufactured by Lallemand in the selection.include-white-labs?
: Whether or not to include yeasts manufactured by White Labs in the selection.include-wyeast?
: Whether or not to include yeasts manufactured by Wyeast in the selection.Returns a map from keywords to `common-beer-format.yeasts/yeast` maps based on their attributes. Legal selection keys include: - `include-brewtek?` : Whether or not to include yeasts manufactured by BrewTek in the selection. - `include-dcl-fermentis?` : Whether or not to include yeasts manufactured by [Fermentis](https://fermentis.com/en/) in the selection. - `include-lallemand?` : Whether or not to include yeasts manufactured by [Lallemand](https://www.lallemand.com/) in the selection. - `include-white-labs?` : Whether or not to include yeasts manufactured by [White Labs](https://www.whitelabs.com/) in the selection. - `include-wyeast?` : Whether or not to include yeasts manufactured by [Wyeast](https://www.wyeastlab.com/) in the selection.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close