package astring

Build not checked
  1. Overview
  2. Docs
Alternative String module for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

astring-0.8.3.tbz
sha256=206646340d86ffcca900d0a3fbded2140c0efc4b74a84f84dc92667a07e3b247
md5=c5bf6352b9ac27fbeab342740f4fa870

Description

Astring exposes an alternative String module for OCaml. This module tries to balance minimality and expressiveness for basic, index-free, string processing and provides types and functions for substrings, string sets and string maps.

Remaining compatible with the OCaml String module is a non-goal. The String module exposed by Astring has exception safe functions, removes deprecated and rarely used functions, alters some signatures and names, adds a few missing functions and fully exploits OCaml's newfound string immutability.

Astring depends only on the OCaml standard library. It is distributed under the ISC license.

Tags

string org:erratique

Added to opam-repository:

README

Astring — Alternative String module for OCaml

v0.8.3

Astring exposes an alternative String module for OCaml. This module tries to balance minimality and expressiveness for basic, index-free, string processing and provides types and functions for substrings, string sets and string maps.

Remaining compatible with the OCaml String module is a non-goal. The String module exposed by Astring has exception safe functions, removes deprecated and rarely used functions, alters some signatures and names, adds a few missing functions and fully exploits OCaml's newfound string immutability.

Astring depends only on the OCaml standard library. It is distributed under the ISC license.

Home page: http://erratique.ch/software/astring Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

Installation

Astring can be installed with opam:

opam install astring

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

If you installed Astring with opam sample programs are located in the directory opam config var astring:doc.

Dependencies (5)

  1. base-bytes
  2. topkg build
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.01.0" & < "4.12.0"

Dev Dependencies

None

Optional Dependencies

None

  1. ahrocksdb
  2. albatross < "1.4.3"
  3. alcotest
  4. ansi
  5. areas-and-adversaries
  6. bech32
  7. bigarray-overlap
  8. bos
  9. bun
  10. ca-certs < "1.0.1"
  11. ca-certs-nss < "3.89.1"
  12. capnp-rpc
  13. capnp-rpc-lwt < "2.0"
  14. capnp-rpc-net
  15. capnp-rpc-unix
  16. cascade
  17. checkseum >= "0.2.0"
  18. ciao_lwt
  19. cmdtui
  20. cmdtui-lambda-term
  21. cohttp-mirage < "6.3.0"
  22. conduit
  23. conex < "0.10.0"
  24. console
  25. console-eio
  26. cookie
  27. craml
  28. current_ansi
  29. datakit-server
  30. decompress = "1.5.2"
  31. digestif >= "0.9.0"
  32. dns >= "4.4.1" & < "6.3.0"
  33. dns-forward
  34. dockerfile-cmd >= "8.3.4"
  35. dockerfile-opam < "8.3.4"
  36. doi2bib < "0.9.2"
  37. domain-name < "0.4.1"
  38. dune-release >= "1.5.0"
  39. ezgzip
  40. facteur
  41. fat-filesystem
  42. fpath
  43. functoria
  44. git
  45. graft
  46. graphql-cohttp >= "0.9.0"
  47. irmin
  48. irmin-cli
  49. irmin-fs
  50. irmin-git
  51. irmin-http
  52. irmin-pack
  53. irmin-test
  54. irmin-unix
  55. irmin-watcher
  56. jekyll-format
  57. jose
  58. lwt_ppx_to_let_syntax
  59. mdx
  60. mirage >= "4.0.0"
  61. mirage-block-ccm
  62. nlp
  63. obuilder
  64. obuilder-spec
  65. ocal
  66. ocaml-lsp-server >= "1.17.0"
  67. ocamlformat-lib
  68. ocamlformat-mlx-lib
  69. ocamlmig
  70. ocb-stubblr
  71. ocp-ocamlres
  72. odoc
  73. odoc-parser
  74. opam-0install
  75. opium >= "0.19.0"
  76. otr
  77. owork
  78. paf-cohttp
  79. pecu >= "0.6"
  80. progress
  81. prometheus < "1.4"
  82. prometheus-app >= "1.0" & < "1.4"
  83. protocol-9p
  84. protocol-9p-unix
  85. qcow
  86. qcow-tool
  87. qcow-types
  88. queenshead
  89. rfc6287
  90. sattools
  91. slipshow >= "0.3.0"
  92. sslconf
  93. stone >= "0.6"
  94. syslog-message < "1.2.0"
  95. syslog-rfc5424 < "0.2"
  96. systemverilog < "0.0.2"
  97. terminal
  98. toc
  99. tw
  100. webbrowser < "0.6.2"
  101. websocket
  102. x509 < "0.7.0"
  103. xapi-inventory
  104. xapi-stdext-date

Conflicts

None

Build status

Results of building astring with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.8.5 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure