Jeremy Yallop
38eb6d5f64
Add Array.for_all2 and Array.exists2 ( #9235 )
...
* Partially revert "Removed for_all2, exists2 and find again."
This partially reverts commit 83dcf62ebf
.
(Restore for_all2 and exists2.)
* Partially revert "Fixed typos and changed exists2 and for_all2."
This partially reverts commit 7a082785be
.
* Array.(for_all2,exists2): simplify documentation; add @since annotations
* Changes: remove trailing whitespace
2020-01-13 13:52:39 +00:00
Damien Doligez
fc60f71b45
add Stdlib.Float.Array ( #1936 )
...
Add Stdlib.Float.Array module with a bunch of functions for the
floatarray type.
2018-12-03 14:08:56 +01:00
Daniel Bünzli
acb0e91ac6
Stdlib doc: harmonize heading levels again. ( #2142 )
2018-11-08 17:33:55 +01:00
yallop
ee1c2a4d7e
Add paths for built-in types ( #1876 )
...
* Add an Extension_constructor submodule to Obj.
Deprecate top-level functions extension_constructor / extension_name /
extension_id.
* Add 'true' and 'false' to the definition of Bool.t
* Add aliases for the built-in 'list' and 'array' types.
* Add an alias for 'exn' to Printexc.
* Changes entry: built-in type aliases
* Add a Unit module.
* Add paths for built-in exceptions.
2018-11-08 16:08:17 +01:00
Jérémie Dimino
9124ab82d1
Deprecate Pervasives ( #1605 )
...
- 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
2018-08-27 12:42:14 +01:00
Simon Cruanes
df80f34a92
Stdlib functional iterators ( #1002 )
...
* 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
2018-03-16 18:25:10 +01:00
octachron
e30e82a219
PR#7363: start documentation headers at {1
2017-10-04 13:05:05 +02:00
Damien Doligez
f086eda9c0
add -no-flat-float-array configure option
2017-09-15 18:24:36 +02:00
octachron
c4d49c89c1
Add cross-reference detected by ocamldoc
2017-02-01 20:20:02 +01:00
Grégoire Lionnet
d0955cbae2
add missings since 4.03.0 tags in stdlib.
2016-05-21 12:00:31 +08:00
Damien Doligez
5401ce8473
Update headers for the new license.
...
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
chrismamo1
e301b9ea32
slightly improved wording in array.mli
2016-02-10 14:55:49 +01:00
chrismamo1
bcd38cd22c
organized the documentation in array.mli so that it now more closely resembles the documentation for List
2016-02-10 14:55:49 +01:00
chrismamo1
34380c8782
corrected a typo in the interface for Array.iter2
2016-02-10 14:50:05 +01:00
chrismamo1
df64b07140
added an Array.iter2 function to the standard library in order to bring the Array library up to speed with the List library
2016-02-10 14:50:05 +01:00
chrismamo1
ca5bac12a4
added an Array.map2 function to the standard library in order to bring the Array library up to speed with the List library
2016-02-10 14:50:04 +01:00
Bernhard Schommer
83dcf62ebf
Removed for_all2, exists2 and find again.
2015-12-04 15:41:48 +01:00
Bernhard Schommer
7a082785be
Fixed typos and changed exists2 and for_all2.
...
Now exist2 and for_all2 only raise the invalid_arg excpetion when
the end of one array is reached.
Also some new tests in the testsuite.
2015-12-04 11:15:40 +01:00
Bernhard Schommer
dcc1421e1e
Added exists2, for_all2, mem, memq and find.
...
The functions are implemented as their pendants in the List module.
2015-12-04 10:10:36 +01:00
Bernhard Schommer
d3aa77961c
Add exist and for_all to array.
...
Implemented an exist and a for_all function for arrays with the same
interfaces as the ones for lists.
2015-12-04 00:41:29 +01:00
Damien Doligez
b67a732866
add create_float_array and deprecate make_float_array
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-09-07 13:49:28 +00:00
Gabriel Scherer
d6189d83a4
Add @since tags on stdlib functions new in 4.02
...
make_float was added in 4.02
Buffer.(to_bytes, add_bytes, add_subbytes) were added in 4.02.
BytesLabels was added in 4.02.
Digest.(bytes, subbytes) were added in 4.02.
Marshal.(to_bytes, from_bytes) were added in 4.02.
various Pervasives functions were added in 4.02: print_bytes prerr_bytes output_bytes output_substring really_input_string
Printexc.(backtrace_slots, raw_backtrace_slot) were added in 4.02.
Scanf.(ksscanf, kfscanf) were added in 4.02.
Stream.of_bytes was added in 4.02.
From: Jeremy Yallop <yallop@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-19 17:31:47 +00:00
Damien Doligez
031cffd155
merge branch 4.02 from release 4.02.0 to release 4.02.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-15 13:34:58 +00:00
Damien Doligez
cbfe627f92
merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev 15121)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-08-22 13:45:02 +00:00
Alain Frisch
2373f76c36
#6180 : efficient creation of uninitialized float arrays.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-17 11:54:31 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez
f95e7f4a59
uniformization of the warnings at the head of the hidden sections of the .mli
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-14 16:03:15 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
0e5ca9dca5
nettoyage
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 18:34:07 +00:00
Damien Doligez
a4a3c10e70
fusion des modifs de 3.08.4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:59:37 +00:00
Damien Doligez
331b2d89c3
depollution suite (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Xavier Leroy
6c5d5d9e03
MAJ documentation:
...
- comportement de nan avec les comparaisons et avec la fonction compare
- exceptions levees par les acces hors-bornes
- exceptions de debordement dans les conversions string -> int
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5963 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:06:08 +00:00
Damien Doligez
bba52e7a9d
changement List.sort; ajout fast_sort et List.merge
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4884 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-05 12:12:47 +00:00
Damien Doligez
4b981e1964
documentation de sort
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4818 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-16 15:09:09 +00:00
Xavier Leroy
827ad34be9
Typos / precisions supplementaires dans la doc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-04 16:44:20 +00:00
Damien Doligez
0e07868297
sort: specif de la fonction de comparaison
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4237 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-06 19:17:54 +00:00
Maxence Guesdon
f0cb1b414d
changements niveaux de titre dans les commentaires
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-28 23:13:20 +00:00
Xavier Leroy
7501784c80
MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Maxence Guesdon
8d3cbb869b
correction typo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-04 20:09:27 +00:00
Maxence Guesdon
966c128bc9
commentaires après
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-03 22:01:28 +00:00
Maxence Guesdon
acd469c220
Modif commentaires OCamldoc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 16:52:04 +00:00
Maxence Guesdon
a692df441c
Modification emplacement et syntaxe des commentaires pour OCamldoc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-26 22:37:14 +00:00
Jacques Garrigue
ea299bbbc1
passage aux labels stricts
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-06 08:52:32 +00:00
Xavier Leroy
2640963002
Erreur dans la doc de Array.create
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-04-26 13:30:32 +00:00
Pierre Weis
2dfad7aeef
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-05-24 14:32:25 +00:00
Damien Doligez
651700f89d
nouveaux tris
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-14 10:05:33 +00:00
Jacques Garrigue
19fede7478
passage aux labels legers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3024 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-03 01:57:52 +00:00
Jacques Garrigue
c7168d2346
changed some labels
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-07 15:01:27 +00:00
Jacques Garrigue
296fc05470
Merge olabl branch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-30 16:07:38 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00