ExKcal.Alcohols (ExKcal v0.0.6)

Describes various alcohols common and beverages and food.

Link to this section Summary

Types

Known SI prefixes.

t()

Common alcohols expressed in Elixir.ExKcal.Alcohols.weight().

Volume of substance and unit it is represented in.

Weight of substance and unit it is represented in.

Link to this section Types

Specs

si_prefix() ::
  :Y
  | :Z
  | :E
  | :P
  | :T
  | :G
  | :M
  | :k
  | :h
  | :da
  | :d
  | :c
  | :m
  | :μ
  | :n
  | :p
  | :f
  | :a
  | :z
  | :y

Known SI prefixes.

Specs

t() :: %ExKcal.Alcohols{ethanol: weight(), other: weight(), total: weight()}

Common alcohols expressed in Elixir.ExKcal.Alcohols.weight().

Specs

volume() :: {float(), :l | :dl | :ml} | {nil, :none}

Volume of substance and unit it is represented in.

Specs

weight() :: {float(), :kg | :g | :mg | :μg} | {nil, :none}

Weight of substance and unit it is represented in.