package smol

  1. Overview
  2. Docs
type t

The type of literals, which are abstract representation of values.

val to_string : t -> string

Returns the string representation of a literal

val compare : t -> t -> int

A total ordering on the literals, which is the lexicographical ordering on their names

val equal : t -> t -> bool

Equality on the literals. Two literals are equal iff their name is the same.

OCaml

Innovation. Community. Security.