From de432f4ea9a8c29c931f30dd504662be1a01464d Mon Sep 17 00:00:00 2001
From: Hans Bolinder
Equivalent to
Equivalent to
Equivalent to
Equivalent to
Tests that
- ?assertMatch({bork, _}, f())
- Note that a guard
Note that a guard
- ?assertMatch({bork, X} when X > 0, f())
+ ?assertMatch({bork, X} when X > 0, f())
Here is an example of how to reconstruct source code from @@ -152,7 +153,6 @@ keys.
Searches for the first occurrence of
Works like
Compiles a list of files by calling
This function computes the number of gregorian days starting with year 0 and ending at the given date.
@@ -347,11 +347,11 @@This function checks if a date is a valid.
A digraph as returned by A digraph as returned by
The Erlang source file
This module implements an abstract type that is used by the
Erlang Compiler and its helper modules for holding data such as
column, line number, and text. The data type is a collection of
-
The Erlang Token Scanner returns tokens with a subset of the following annotations, depending on the options:
@@ -102,8 +102,8 @@A collection of annotations.
+Returns the column of the annotations
Returns the end location of the text of the
annotations
Returns the filename of the annotations
Returns
Returns the line of the annotations
Returns the location of the annotations
Creates a new collection of annotations given a location.
Modifies the filename of the annotations
Modifies the generated marker of the annotations
Modifies the line of the annotations
Modifies the location of the annotations
Modifies the record marker of the annotations
Modifies the text of the annotations
Returns the text of the annotations
Converts the Erlang data structure
The optional argument
The optional argument
This is the re-entrant scanner which scans characters until
a dot ('.' followed by a white space) or
@@ -324,9 +324,9 @@
Returns a list containing information about the token
The following The category of the token. The column where the token begins. The length of the token's text. The line where the token begins. The line and column where the token begins, or
just the line if the column unknown. The token's symbol. The following The column where the token begins. The length of the token's text. The line where the token begins. The line and column where the token begins, or
just the line if the column unknown.
The fun clauses parameter lists are: +
The fun clauses parameter lists are:
A complete
Opaque continuation used by This function provides an efficient way to update one or more
counters, without the hassle of having to look up an object, update
@@ -1700,11 +1701,11 @@ true
This function provides an efficient way to update one or more
elements within an object, without the hassle of having to look up,
diff --git a/lib/stdlib/doc/src/file_sorter.xml b/lib/stdlib/doc/src/file_sorter.xml
index 30e09c17b0..f033eebec7 100644
--- a/lib/stdlib/doc/src/file_sorter.xml
+++ b/lib/stdlib/doc/src/file_sorter.xml
@@ -223,82 +223,82 @@ output(L) ->
This function is called by a gen_event process when: This function is called by a gen_fsm process when:
The pid of the owner of the table.
+
The table access rights.
The number of objects inserted in the table.
+
The table type.
@@ -1626,6 +1627,7 @@ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This function is called by a gen_server process when:
-Reads Reads a line from the standard input ( Reads a term Reads a term Reads characters from the standard input ( Reads data from the standard input ( Reads data from the standard input ( Reads data from the standard input
( Reads data from the standard input ( Searches the list of tuples Returns Searches the list of tuples A collection of math functions which return floats. Arguments
are numbers.
Bad input to maps module function will now yield the
- following exceptions:
Own Id: OTP-12657
Own Id: OTP-11173 Aux Id: seq12353
- The potential incompatibility refers to
-+ The potential incompatibility refers to:
(Thanks to James Fish and Steve Vinoski)
@@ -1036,22 +1035,28 @@
EEP43: New data type - Maps
- With Maps you may for instance:
For information on how to use Maps please see Map Expressions in the
The current implementation is without the following
- features:
Note that Maps is experimental during OTP 17.0.
@@ -1802,13 +1807,15 @@ supervisor or for the problematic child.
This introduces some incompatibilities in stdlib due to
- new return values from supervisor:
+ new return values from supervisor:
*** POTENTIAL INCOMPATIBILITY ***
@@ -1824,10 +1831,10 @@ Own Id: OTP-9782 Aux Id: seq11964
Use universal time as base in error logger +
Use universal time as base in error logger
Previous conversion used the deprecated - calendar:local_time_to_universal_time/1
+ calendar:local_time_to_universal_time/1Own Id: OTP-9854
Fix exception generation in the io module +
Fix exception generation in the io module
Some functions did not generate correct badarg exception - on a badarg exception.
+ on a badarg exception.Own Id: OTP-9045
One easy way of obtaining a unique value to seed with is to:
- random:seed(erlang:phash2 ([node() ]),
- erlang:monotonic_time() ,
- erlang:unique_integer() )
+random:seed(erlang:phash2([node()]),
+ erlang:monotonic_time(),
+ erlang:unique_integer())
+ See
Executes a regexp matching, returning
The following sections contain reference material for the +
By default, in UTF modes, characters with values greater than 255 do not match any of the POSIX character classes. However, if the PCRE_UCP option is passed -to pcre_compile(), some of the classes are changed so that Unicode +to pcre_compile(), some of the classes are changed so that Unicode character properties are used. This is achieved by replacing the POSIX classes by other sequences, as follows:
@@ -2078,10 +2078,10 @@ by other sequences, as follows:-abc #comment \n still comment
On encountering the # character, pcre_compile() skips along, looking for +
On encountering the # character, pcre_compile() skips along, looking for a newline in the pattern. The sequence \n is still literal at this stage, so it does not terminate the comment. Only an actual character with the code value 0x0a (the default newline) does so.
diff --git a/lib/stdlib/doc/src/sofs.xml b/lib/stdlib/doc/src/sofs.xml index 5d7648d9a1..53f6ca957a 100644 --- a/lib/stdlib/doc/src/sofs.xml +++ b/lib/stdlib/doc/src/sofs.xml @@ -398,8 +398,9 @@ fun(S) -> sofs:partition(1, S) endA tuple where the elements are of type
Dynamically adds a child specification to the supervisor
These functions are intended only to help with debugging. They are provided for
convenience, allowing developers to avoid having to create their own state extraction
functions and also avoid having to interactively extract state from the return values of
-
The value of
Same as
Same as
Same as
The name of a zip file. The name of a zip file.