package fred

  1. Overview
  2. Docs
type categories = {
  1. categories : category list;
}

Container for categories data

and category = {
  1. id : int;
  2. name : string;
  3. parent_id : int;
}
val pp_categories : Ppx_deriving_runtime.Format.formatter -> categories -> Ppx_deriving_runtime.unit
val show_categories : categories -> Ppx_deriving_runtime.string
val pp_category : Ppx_deriving_runtime.Format.formatter -> category -> Ppx_deriving_runtime.unit
val show_category : category -> Ppx_deriving_runtime.string
OCaml

Innovation. Community. Security.