@@ -4900,7 +4900,7 @@ defmodule Kernel do
4900
4900
## Sigils
4901
4901
4902
4902
@ doc ~S"""
4903
- Handles the sigil `~S`.
4903
+ Handles the sigil `~S` for strings .
4904
4904
4905
4905
It simply returns a string without escaping characters and without
4906
4906
interpolations.
@@ -4918,7 +4918,7 @@ defmodule Kernel do
4918
4918
defmacro sigil_S ( { :<<>> , _ , [ binary ] } , [ ] ) when is_binary ( binary ) , do: binary
4919
4919
4920
4920
@ doc ~S"""
4921
- Handles the sigil `~s`.
4921
+ Handles the sigil `~s` for strings .
4922
4922
4923
4923
It returns a string as if it was a double quoted string, unescaping characters
4924
4924
and replacing interpolations.
@@ -4946,7 +4946,7 @@ defmodule Kernel do
4946
4946
end
4947
4947
4948
4948
@ doc ~S"""
4949
- Handles the sigil `~C`.
4949
+ Handles the sigil `~C` for charlists .
4950
4950
4951
4951
It simply returns a charlist without escaping characters and without
4952
4952
interpolations.
@@ -4967,7 +4967,7 @@ defmodule Kernel do
4967
4967
end
4968
4968
4969
4969
@ doc ~S"""
4970
- Handles the sigil `~c`.
4970
+ Handles the sigil `~c` for charlists .
4971
4971
4972
4972
It returns a charlist as if it were a single quoted string, unescaping
4973
4973
characters and replacing interpolations.
@@ -4998,12 +4998,12 @@ defmodule Kernel do
4998
4998
end
4999
4999
5000
5000
@ doc """
5001
- Handles the sigil `~r`.
5001
+ Handles the sigil `~r` for regular expressions .
5002
5002
5003
5003
It returns a regular expression pattern, unescaping characters and replacing
5004
5004
interpolations.
5005
5005
5006
- More information on regexes can be found in the `Regex` module.
5006
+ More information on regular expressions can be found in the `Regex` module.
5007
5007
5008
5008
## Examples
5009
5009
@@ -5028,7 +5028,7 @@ defmodule Kernel do
5028
5028
end
5029
5029
5030
5030
@ doc ~S"""
5031
- Handles the sigil `~R`.
5031
+ Handles the sigil `~R` for regular expressions .
5032
5032
5033
5033
It returns a regular expression pattern without escaping
5034
5034
nor interpreting interpolations.
@@ -5054,6 +5054,8 @@ defmodule Kernel do
5054
5054
The lower case `~d` variant does not exist as interpolation
5055
5055
and escape characters are not useful for date sigils.
5056
5056
5057
+ More information on dates can be found in the `Date` module.
5058
+
5057
5059
## Examples
5058
5060
5059
5061
iex> ~D[2015-01-13]
@@ -5072,6 +5074,8 @@ defmodule Kernel do
5072
5074
The lower case `~t` variant does not exist as interpolation
5073
5075
and escape characters are not useful for time sigils.
5074
5076
5077
+ More information on times can be found in the `Time` module.
5078
+
5075
5079
## Examples
5076
5080
5077
5081
iex> ~T[13:00:07]
@@ -5092,6 +5096,8 @@ defmodule Kernel do
5092
5096
The lower case `~n` variant does not exist as interpolation
5093
5097
and escape characters are not useful for datetime sigils.
5094
5098
5099
+ More information on naive date times can be found in the `NaiveDateTime` module.
5100
+
5095
5101
## Examples
5096
5102
5097
5103
iex> ~N[2015-01-13 13:00:07]
@@ -5107,7 +5113,7 @@ defmodule Kernel do
5107
5113
end
5108
5114
5109
5115
@ doc ~S"""
5110
- Handles the sigil `~w`.
5116
+ Handles the sigil `~w` for list of words .
5111
5117
5112
5118
It returns a list of "words" split by whitespace. Character unescaping and
5113
5119
interpolation happens for each word.
@@ -5145,7 +5151,7 @@ defmodule Kernel do
5145
5151
end
5146
5152
5147
5153
@ doc ~S"""
5148
- Handles the sigil `~W`.
5154
+ Handles the sigil `~W` for list of words .
5149
5155
5150
5156
It returns a list of "words" split by whitespace without escaping nor
5151
5157
interpreting interpolations.
0 commit comments