summaryrefslogtreecommitdiff
path: root/stdlib/string.mli
Commit message (Collapse)AuthorAgeFilesLines
* Rename tools/unlabel --> tools/sync_stdlib_docsJohn Whitington2020-09-101-4/+4
|
* remove double @sincesJohn Whitington2020-08-031-12/+6
|
* ~prefix fixJohn Whitington2020-08-031-1/+1
|
* Fix deprecationsJohn Whitington2020-08-031-8/+16
|
* Small fixes from @dra27's commentsJohn Whitington2020-08-031-1/+1
|
* Labeled and unlabeled @sinces automaticallyJohn Whitington2020-07-301-6/+12
|
* Fix smaller review comments from @dra27John Whitington2020-07-301-7/+7
|
* Replacing {!X.y} in doc comments with {!y}John Whitington2020-07-271-16/+16
|
* Fixes per travis check-typo and travis changesJohn Whitington2020-07-081-4/+10
|
* Restore String.prefix/suffix status quo anteJohn Whitington2020-07-081-2/+2
|
* Unify labeled and unlabeled Standard Library modulesJohn Whitington2020-07-071-70/+91
|
* Consistently use @raise tags in Stdlib docs (#8644)Et7f32020-06-301-35/+19
|
* Added String prefix and suffix tests.Bernhard Schommer2020-06-241-0/+8
| | | | | The functions test if the second argument is a prefix or suffix of the first argument.
* Fix the string.mli documentation of unsafe-string (#8653)Gabriel Scherer2019-05-021-15/+13
| | | | unsafe-string is no longer the default since 4.06.
* Stdlib doc: harmonize heading levels again. (#2142)Daniel Bünzli2018-11-081-1/+1
|
* Deprecate Pervasives (#1605)Jérémie Dimino2018-08-271-1/+1
| | | | | | | - inline Pervasives in Stdlib and re-add Pervasives as a deprecated module that aliases all elements of Stdlib except the stdlib modules. - remove special case for Stdlib.Pervasives in printtyp.ml
* Fix a typozapashcanon2018-04-011-1/+1
|
* Stdlib functional iterators (#1002)Simon Cruanes2018-03-161-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add `Seq` module, expose iterator conversions in most containers * small typo * typo * change order of arguments for `{Map,Set}.add_seq` * watch for max string length in `Bytes.of_seq` * wip: make it build again * Fix dependency Sys needs to be linked before Bytes in stdlib. * Update threads/stdlib.ml * Update stdlib_no_prefixed/.depend * fix inconsistencies with label modules * update testsuite to work with seq * update change file * small change in `Hashtbl.to_seq`, capturing only the underlying array * add some documentation to seq.mli * revert to good ol' module type names for hashtables * fix test * change style of comments in seq.mli * follow some demands in review of GPR #1002 * some fixes for #1002 * add Seq-related functions to Ephemeron * add some comments on `Hashtbl.of_seq` * add more tests for `Hashtbl.{to,of}_seq` * fix bug in `Ephemeron.to_seq` * Update Changes
* restore compatibility for String.{unsafe_set,create,fill}Damien Doligez2016-12-141-3/+3
|
* change primitive names back to %string_safe_setHongbo Zhang2016-12-141-1/+1
|
* Option-returning variants of stdlib functions (#885)Alain Frisch2016-11-071-0/+36
| | | | | | | | | | | | | Provide an xxx_opt alternative for functions raising Not_found and many instances of Failure/Invalid_arg. The only exception is the rarely used Buffer.add_substitute, where the [Not_found] can really be interpreted as an error condition. Most new functions are implemented directly (instead of wrapping the raising version). This is for performance reasons and also to avoid destroying the stacktrace (if the function is used in an exception handler). One could instead implement the raising versions on top of the new functions, but there might be a small penalty.
* apply changes to stdlib and test suiteHongbo Zhang2016-08-071-4/+4
|
* Typo.alainfrisch2016-07-111-2/+2
|
* Rename String.split to String.split_on_char (#626).alainfrisch2016-07-111-1/+1
|
* String.splitalainfrisch2016-07-091-0/+15
|
* Update headers for the new license.Damien Doligez2016-02-181-12/+14
| | | | Remains to be done: remove all headers in testsuite/tests.
* Replace uses of "noalloc" by [@@noalloc]Jérémie Dimino2015-10-061-2/+2
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* PR#6521: {Bytes,Char,String}.escaped are locale-dependentDamien Doligez2015-03-111-6/+13
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15901 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* add @since tags to the new *_ascii functionsGabriel Scherer2014-12-211-4/+8
| | | | | | From: Gabriel Scherer <gabriel.scherer@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* PR6694: Deprecate Latin-1 string manipulation functions.Gabriel Scherer2014-12-211-9/+30
| | | | | | | | Also, add documentation for the US-ASCII variants. From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15729 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* PR6695: Add ASCII counterparts to case-mapping functions.Gabriel Scherer2014-12-211-0/+5
| | | | | | | | | | | This updates Char, String, Bytes in the stdlib. For now, they are hidden from documentation and are only for internal compiler use. From: Peter Zotov <whitequark@whitequark.org> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15726 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* PR#6494: Add equal function in modules Big_int, Bytes, Char, Digest, Int32, ↵Gabriel Scherer2014-12-211-0/+4
| | | | | | | | | | Int64, Nativeint, Num and String (Romain Calascibetta) From: Romain Calascibetta <romain.calascibetta@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* merge branch 4.02 from release 4.02.0 to release 4.02.1Damien Doligez2014-10-151-3/+5
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev ↵Damien Doligez2014-08-221-11/+14
| | | | | | 15121) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* implement {Bytes,String}.mapiGabriel Scherer2014-08-061-7/+17
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* #6500: add String.init, Bytes.init, Labels couterparts, Stream.of_byte. ↵Alain Frisch2014-07-281-0/+6
| | | | | | (Cherry-picked from 15029 on 4.02.) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* safe-string: documentation fixes and add a couple of functions in Pervasives ↵Damien Doligez2014-05-011-5/+5
| | | | | | and Digest git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* merge branch "safe-string"Damien Doligez2014-04-291-60/+62
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* Revert r13746 (demanded by Xavier)Fabrice Le Fessant2013-06-051-18/+0
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13748 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* Add String.split and String.cut_at from MiscFabrice Le Fessant2013-06-051-0/+18
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13746 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* remove all $Id keywordsDamien Doligez2012-10-151-2/+0
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* uniformization of the warnings at the head of the hidden sections of the .mliDamien Doligez2012-03-141-0/+2
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* bumped version to 4.00.0 (per Xavier's decision)Damien Doligez2012-03-081-6/+9
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* merge version 3.12 from 3.12.1 to r12205Damien Doligez2012-03-081-0/+6
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* aftermath of PR#5497Damien Doligez2012-02-231-3/+3
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12183 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* More renaming to OCamlDamien Doligez2012-02-101-2/+2
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* Related to #5493 again: more explanations about string mutation, string ↵Xavier Leroy2012-02-051-6/+14
| | | | | | sharing, and why mutation is best avoided. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* hack to make ocamldoc happy; should be fixed properlyDamien Doligez2012-02-031-2/+2
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12114 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* Related to #5493: document in string.mli the fact that string constants are ↵Jonathan Protzenko2012-01-301-0/+18
| | | | | | shared. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
* Fix bug #3888 (String.map and Scanf.unescaped)Fabrice Le Fessant2012-01-081-1/+1
| | | | git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12004 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02