package bap-frames

  1. Overview
  2. Docs

Replaces @@deriving enum interface from ppx_deriving, that treats variants with argument-less constructors as enumerations with an integer value assigned to every constructor.

type t
val to_enum : t -> int
val of_enum : int -> t option
val max : int
val min : int