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/Env.ml.html

Source file Env.ml

1
2
3
4
5
6
7
8
9
10
include Map.Make (Symbol)

let pp (pp_el : Format.formatter -> 'a -> unit) : Format.formatter -> 'a t -> unit =
  fun fmt map ->
  Format.fprintf fmt "@[<v1>{";
  begin
    map |> iter @@ fun k v ->
    Format.fprintf fmt "@[%a ~> %a@]@;" Symbol.pp k pp_el v
  end;
  Format.fprintf fmt "}@]"
OCaml

Innovation. Community. Security.