Skip to content

Commit eeb00d5

Browse files
committed
typos
1 parent bc473b7 commit eeb00d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Patricia Tree
22

3-
[![Latest version](https://img.shields.io/badge/version-0.10.0-yellow)](https://github.com/codex-semantics-library/patricia-tree/releases)
3+
[![Latest version](https://img.shields.io/badge/version-0.11.0-yellow)](https://github.com/codex-semantics-library/patricia-tree/releases)
44
[![OCaml Version](https://img.shields.io/badge/OCaml-4.14_--_5.2-blue?logo=ocaml&logoColor=white)](https://github.com/codex-semantics-library/patricia-tree/blob/main/dune-project)
55
[![GitHub License](https://img.shields.io/github/license/codex-semantics-library/patricia-tree)](https://github.com/codex-semantics-library/patricia-tree/blob/main/LICENSE)
66
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/codex-semantics-library/patricia-tree/ocaml.yml)](https://github.com/codex-semantics-library/patricia-tree/actions/workflows/ocaml.yml)

src/index.mld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ See the {{!examples}examples} to jump right into using this library.
8585
be extended to store size information in nodes if needed.}
8686
{li Exposes a common interface ({!type:PatriciaTree.NODE.view}) to allow users to write their own pattern
8787
matching on the tree structure without depending on the {{!PatriciaTree.NODE}[NODE]} being used.}
88-
{li Additionally, hashconsed versions of heterogeneous/homogeneous maps/sets are
88+
{li Additionally, hash-consed versions of heterogeneous/homogeneous maps/sets are
8989
available. These provide constant time equality and comparison, and ensure
9090
maps/set with the same constants are always physically equal. It comes at the cost
9191
of a constant overhead in memory usage (at worst, as hash-consing may allow
@@ -210,7 +210,7 @@ Here is a small example of a non-generic map:
210210
let to_int x = x (* to_int must be injective and fast *)
211211
end
212212
]}}
213-
{li Use it to instanciate the map/set functors:
213+
{li Use it to instantiate the map/set functors:
214214
{[
215215
module IMap : PatriciaTree.MAP with type key = int
216216
= PatriciaTree.MakeMap(IntKey)
@@ -353,7 +353,7 @@ liberty of having a generic type as a key.
353353
Note the full polymorphic equality, that returns a GADT term {!PatriciaTree.cmp}
354354
which, when equal ({{!PatriciaTree.Eq}[Eq]}), is a proof of type equality
355355
between the type parameters.}
356-
{li We can now instanciate our map functor. Note that in the heterogeneous case,
356+
{li We can now instantiate our map functor. Note that in the heterogeneous case,
357357
we must also specify the value type (second functor argument) and how it depends
358358
on the key type (first parameter) and the map type (second parameter).
359359
Here the value only depends on the type of the key, not that of the map

0 commit comments

Comments
 (0)