package bst

  1. Overview
  2. Docs

Parameter Make.P

type t

A point.

val dist : t -> t -> float

dist must be a distance. Be careful with the implementation of your distance (dist x x = 0.0, triangular inequality must hold, NaN is not a proper distance, etc).

OCaml

Innovation. Community. Security.