Alternative String module for OCaml
Browse cluster: OCaml Systems and Utilities →Astring is an alternative String module for OCaml that provides index-free string processing with a focus on balancing minimality and expressiveness. The module offers types and functions for substrings, string sets, and string maps while maintaining exception safety and taking advantage of OCaml's string immutability. Built entirely with OCaml and the standard library, Astring deliberately departs from full compatibility with OCaml's built-in String module by removing deprecated functions, altering signatures, and adding missing functionality. The project is distributed under the ISC license and maintained on the Erratique website.