package forester

  1. Overview
  2. Docs
A tool for tending mathematical forests

Install

Dune Dependency

Authors

Maintainers

Sources

3.1.0.tar.gz
md5=3512b493a31b0d1073ba4e48e8058493
sha512=b6e5ad2f86132d1874cb943546375e2f1b987a0c65628d71f17827f1ff7435df476c86fb135b34b3ff302f99ea54a21b90730257e12aa41cce170fae57c422b0

doc/src/forester.core/Symbol.ml.html

Source file Symbol.ml

1
2
3
4
5
6
7
8
9
10
11
12
type t = Trie.path * int

let counter = ref 0

let fresh path =
  counter := !counter + 1;
  path, !counter

let pp fmt (sym, ix) =
  Format.fprintf fmt "%a%i" Trie.pp_path sym ix

let compare = compare
OCaml

Innovation. Community. Security.