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

Conflicts

None

Build status

Results of building astring with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. 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