package astring

All checked builds pass
  1. Overview
  2. Docs
Alternative String module for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

astring-0.8.5.tbz
sha256=865692630c07c3ab87c66cdfc2734c0fdfc9c34a57f8e89ffec7c7d15e7a70fa
md5=e148907c24157d1df43bec89b58b3ec8

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.5

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

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 or via odig doc astring.

Sample programs

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

Dependencies (4)

  1. topkg build
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.05.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. carton-git
  17. cascade
  18. checkseum >= "0.2.0"
  19. ciao_lwt
  20. cmdtui
  21. cmdtui-lambda-term
  22. cohttp-mirage < "6.3.0"
  23. conduit
  24. conex < "0.10.0"
  25. console
  26. console-eio
  27. cookie
  28. corosync
  29. craml
  30. current
  31. current_ansi
  32. current_docker
  33. current_git
  34. current_github
  35. current_web
  36. datakit-server
  37. decompress >= "1.5.2" & < "1.6.0"
  38. digestif >= "0.9.0"
  39. dkim < "0.8.0"
  40. dkml-c-probe < "3.0.0"
  41. dkml-dune-dsl-show
  42. dkml-install
  43. dkml-install-installer
  44. dkml-install-runner
  45. dkml-workflows
  46. dns >= "4.4.1" & < "6.3.0"
  47. dns-forward
  48. dockerfile-cmd >= "8.3.4"
  49. dockerfile-opam < "8.3.4"
  50. doi2bib < "0.9.2"
  51. domain-name < "0.4.1"
  52. dune-release >= "1.5.0"
  53. eio < "0.8.1"
  54. ezgzip
  55. facteur
  56. fat-filesystem
  57. fpath
  58. functoria
  59. git
  60. git-unix >= "3.2.0"
  61. graft
  62. graphql-cohttp >= "0.9.0"
  63. irmin
  64. irmin-cli
  65. irmin-fs
  66. irmin-git
  67. irmin-http
  68. irmin-pack
  69. irmin-test
  70. irmin-unix
  71. irmin-watcher
  72. jekyll-format
  73. jose
  74. lwt_ppx_to_let_syntax
  75. mdx
  76. memtrace_viewer < "v0.15.0"
  77. mirage >= "4.0.0"
  78. mirage-block-ccm
  79. nlp
  80. obuilder
  81. obuilder-spec
  82. ocal
  83. ocaml-lsp-server >= "1.17.0"
  84. ocamlformat-lib
  85. ocamlformat-mlx-lib
  86. ocamlmig
  87. ocb-stubblr
  88. ocp-ocamlres
  89. odoc
  90. odoc-parser
  91. opam-0install
  92. opam-dune-lint
  93. opium >= "0.19.0"
  94. otr
  95. owork
  96. paf-cohttp
  97. pecu >= "0.6"
  98. progress
  99. prometheus < "1.4"
  100. prometheus-app >= "1.0" & < "1.4"
  101. protocol-9p
  102. protocol-9p-unix
  103. qcow
  104. qcow-tool
  105. qcow-types
  106. queenshead
  107. rfc6287
  108. sattools
  109. slipshow >= "0.3.0"
  110. sslconf
  111. stone >= "0.6"
  112. syslog-message < "1.2.0"
  113. syslog-rfc5424 < "0.2"
  114. systemverilog < "0.0.2"
  115. terminal
  116. toc
  117. tw
  118. volgo < "0.0.22"
  119. volgo-git-backend < "0.0.22"
  120. volgo-hg-backend < "0.0.22"
  121. webbrowser < "0.6.2"
  122. websocket
  123. x509 < "0.7.0"
  124. xapi-inventory
  125. 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.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.8.5 (this version) 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