Alain Frisch
2e5b9d1ef1
"Alerts" as a generalization of "deprecated" ( #1804 )
2018-11-15 09:51:35 +01:00
Thomas Refis
9145aab78f
manual
2018-11-09 16:43:43 +00: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
Daniel Bünzli
a7afd89003
s/string_of_int/Int.to_string/g
2018-11-07 13:52:02 +01:00
Gabriel Scherer
d5e75fb28f
Merge pull request #2133 from yallop/warn-on-literal-full
...
Warn on literal patterns found anywhere in a constructor's arguments.
2018-11-07 10:09:14 +01:00
Florian Angeletti
9f01a08a2b
Merge pull request #2117 from Octachron/stdlib_precedence_table_3
...
documentation: precedence table for the standard library.
2018-11-06 22:18:48 +01:00
Damien Doligez
17b64ac2b2
Add caml_alloc_custom_mem ( #1738 )
...
* add caml_alloc_custom_mem and corresponding GC parameters
* fix a bug in tests/misc/ephetest2.ml
2018-11-06 13:42:48 +01:00
Florian Angeletti
eab2ff3f84
pdf manual:fix refs, compilerlibs/ocaml_operators
2018-11-06 13:29:23 +01:00
Daniel Bünzli
89e48a38e9
Stdlib: add Fun module. ( #2129 )
...
* Stdlib: add Fun module.
* Stdlib: rename Bool.negate to Fun.negate.
2018-11-06 10:36:07 +01:00
Jeremy Yallop
894df106a1
Update the manual for the generalized warning 52.
2018-11-05 17:30:03 +00:00
Florian Angeletti
cbd4f71a39
documentation: move operator table to a new page
2018-11-04 17:49:22 +01:00
Florian Angeletti
c19ba5cab3
review: typo + synchronisation comment
2018-10-26 11:26:07 +02:00
Florian Angeletti
07318a2ffc
manual: #... operators are left associative
2018-10-25 18:29:32 +02:00
Daniel Bünzli
fdba70136f
Stdlib: add Bool module.
2018-10-23 11:35:08 +02:00
Nicolás Ojeda Bär
90d9b2287a
Merge pull request #2011 from dbuenzli/int-support
...
Improve stdlib support for `int`
2018-10-23 11:23:14 +02:00
yallop
20f4c6ced3
Disallow .~ in extended indexing operators. ( #2106 )
...
Disallow .~ in the lexer to preserve MetaOCaml compatibility.
2018-10-22 15:33:00 +02:00
Armaël Guéneau
6b16bcc4fe
Add option -error-style and environment variable OCAML_ERROR_STYLE
2018-10-20 17:11:35 +02:00
Armaël Guéneau
2ce52c9e2a
unified-options.etex: make check-typo happy
2018-10-20 16:11:27 +02:00
Maxime Flin
74e3b9a215
Change verbatim to caml_example in documentation ( #2105 )
...
* Add paragraph in manual's readme about signature option in caml_example env. Change verbatim env to caml_example.
2018-10-15 22:19:46 +02:00
Nicolás Ojeda Bär
eab68e78f2
doc: mention feature introduced in 4.08
2018-10-10 14:55:04 +02:00
Nicolás Ojeda Bär
856c0a60c1
Amend doc
2018-10-10 14:55:04 +02:00
Nicolás Ojeda Bär
f38b197f90
Specify search order in doc, move to right place
2018-10-10 14:55:04 +02:00
Nicolás Ojeda Bär
0059176658
Doc in manual
2018-10-10 14:54:47 +02:00
Daniel Bünzli
5846aecee6
Stdlib: add Int module.
2018-10-09 10:20:39 +02:00
Florian Angeletti
bea374014c
manual: fix misplaced end of itemize
2018-09-22 19:10:41 +02:00
Sébastien Hinderer
ba6362a07d
Move config/Makefile to Makefile.config
...
In order to prepare the transition to autoconf, this commit moves the
configuration Makefile out of the config directory which will disappear
and gives it the name it will have once intstalled, namely Makefile.config.
2018-09-17 14:23:35 +02:00
Damien Doligez
2fd0186648
Merge pull request #1683 from stedolan/marshal-custom-length
...
Make marshalled Custom_tag objects store their length.
2018-09-14 10:58:27 +02:00
Jérémie Dimino
ee3730f9b2
Deprecate `ocamlc -vmthread` ( #2038 )
2018-09-13 10:42:26 +01:00
Florian Angeletti
558530a8b4
manual: compiler-libs.mld -> compiler_libs.mld
2018-09-12 16:32:37 +02:00
Florian Angeletti
ef135a71ae
MPR7546, manual: preambles and warnings for compiler-libs modules ( #2020 )
...
* preambles for compiler-libs modules
* Compilerlibs intro and warning link
2018-09-12 09:51:47 +02:00
Nicolás Ojeda Bär
9c79a08561
Merge pull request #2037 from alainfrisch/doc-ocamllex-ml
...
Document performance properties of `ocamllex -ml` vs `ocamllex`
2018-09-12 09:05:39 +02:00
Gabriel Scherer
6d7d6c0ec6
manual/exten.etex: cut one page per section for languag extensions
2018-09-10 22:50:54 +02:00
alainfrisch
e1b6ea9a6e
Document performance properties of ocamllex -ml vs ocamllex
2018-09-10 14:09:04 +02:00
Florian Angeletti
0a05dc8382
Merge pull request #2008 from gasche/manual-examples
...
Manual examples
2018-09-06 18:54:27 +02:00
Gabriel Scherer
7aeb565fbe
Merge pull request #2021 from pmetzger/fixmanbuild
...
fix_index.sh: fix a bug, and convert from using "ed" to "sed"
2018-09-06 13:37:29 +02:00
Gabriel Scherer
062e203758
manual: more caml_examples in exten.etex
2018-09-06 12:39:17 +02:00
Gabriel Scherer
14f29e0d65
manual: convert more of exten.etex to {caml_example*}
2018-09-06 12:38:29 +02:00
Perry E. Metzger
6857b9afd8
manual/README.md: remove claim that "ed" is needed for the install
2018-09-05 16:47:07 -04:00
Perry E. Metzger
3b183ff5d4
fix_index.sh: fix a bug, and convert from using "ed" to "sed"
...
Before, the ed script was only fixing the first instance of the
target lines it encountered, leaving second instances that were not
fixed. Rather than fixing the ed script, I've converted this to sed,
which means one less dependency for the build.
Sadly, although almost every modern sed has the -i flag for in-place
fixes, it isn't in POSIX, so I did a kludgy "sed into a .new file,
move back" hack.
2018-09-05 16:33:00 -04:00
Florian Angeletti
65ab4200d6
html manual: split compilerlibs from stdlib
2018-09-05 18:59:31 +02:00
Florian Angeletti
284c8f8bb8
replace awk by $(AWK) in doc makefiles
2018-09-04 09:16:47 +02:00
octachron
075bf9bed6
doc: remove unprefix trick
2018-09-03 13:59:32 +01:00
Gabriel Scherer
294934299e
new -stop-after option: stop after the given compiler pass (parsing, typing)
2018-08-31 22:49:23 +02:00
Gabriel Scherer
dcbf1a8fae
manual: fix broken build caused by GPR #2007
2018-08-27 18:00:50 +02:00
Gabriel Scherer
c578cee935
manual: fix broken build caused by GPR #1605
2018-08-27 17:58:39 +02:00
Gabriel Scherer
6744597090
Merge pull request #2007 from Octachron/nme_integers
...
documentation: move 32/64/native literals out of the extension chapter
2018-08-27 14:57:11 +02:00
octachron
e407ab3829
documentation: promote 32/64/native literals
...
* Move the description of these literals to refman/const.etex and
refman/lex.etex
* Mention their existence in library/builtins.etex
* Add examples to Int32, Int64 and NativeInt module documentation
2018-08-27 11:08:11 +02:00
Gabriel Scherer
3e588dc964
manual: use the caml_example environments in some of the Extension sections
2018-08-27 09:06:50 +02:00
Gabriel Scherer
fffd676d3d
[minor] manual: simplify the refman/ build system
...
I wanted to test a caml_tex issue by creating a smaller .etex file
than exten.etex, and got bitten by the fact that the Makefile hardcode
the knowledge that only exten.etex uses caml_example.
2018-08-27 07:42:31 +02:00
Stephen Dolan
e9b04bb0d5
Add CODE_CUSTOM_FIXED for fixed-size custom serializers.
...
As a space optimisation, custom serializers that always consume
the same number of bytes need not send the lengths explicitly.
2018-08-22 10:33:09 +01:00