ExKcal.Fats (ExKcal v0.0.6)

Fats split into subcategories.

Link to this section Summary

Types

Known SI prefixes.

t()

Amounts of different fat types.

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.Fats{
  monounsaturated: weight(),
  polyunsaturated: weight(),
  saturated: weight(),
  total: weight()
}

Amounts of different fat types.

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.