Skip to content

Commit e0ffa9e

Browse files
authored
Merge pull request #242 from loziniak/money
add money! to types list
2 parents c9f9502 + 3e0a520 commit e0ffa9e

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

en/SUMMARY.adoc

+17-15
Original file line numberDiff line numberDiff line change
@@ -28,44 +28,46 @@
2828
.. link:datatypes/bitset.adoc[bitset!]
2929
.. link:datatypes/block.adoc[block!]
3030
.. link:datatypes/char.adoc[char!]
31-
.. link:datatypes/datatype.adoc[datatype!]
31+
.. link:datatypes/datatype.adoc[datatype!]
3232
.. link:datatypes/date.adoc[date!]
3333
.. link:datatypes/email.adoc[email!]
34-
.. link:datatypes/error.adoc[error!]
34+
.. link:datatypes/error.adoc[error!]
3535
.. link:datatypes/event.adoc[event!]
3636
.. link:datatypes/file.adoc[file!]
3737
.. link:datatypes/float.adoc[float!]
38-
.. link:datatypes/function.adoc[function!]
39-
.. link:datatypes/get-path.adoc[get-path!]
38+
.. link:datatypes/function.adoc[function!]
39+
.. link:datatypes/get-path.adoc[get-path!]
4040
.. link:datatypes/get-word.adoc[get-word!]
4141
.. link:datatypes/handle.adoc[handle!]
4242
.. link:datatypes/hash.adoc[hash!]
4343
.. link:datatypes/image.adoc[image!]
4444
.. link:datatypes/integer.adoc[integer!]
45-
.. link:datatypes/issue.adoc[issue!]
46-
.. link:datatypes/lit-path.adoc[lit-path!]
45+
.. link:datatypes/issue.adoc[issue!]
46+
.. link:datatypes/lit-path.adoc[lit-path!]
4747
.. link:datatypes/lit-word.adoc[lit-word!]
4848
.. link:datatypes/logic.adoc[logic!]
4949
.. link:datatypes/map.adoc[map!]
50-
.. link:datatypes/native.adoc[native!]
50+
.. link:datatypes/money.adoc[money!]
51+
.. link:datatypes/native.adoc[native!]
5152
.. link:datatypes/none.adoc[none!]
5253
.. link:datatypes/object.adoc[object!]
53-
.. link:datatypes/op.adoc[op!]
54+
.. link:datatypes/op.adoc[op!]
5455
.. link:datatypes/pair.adoc[pair!]
5556
.. link:datatypes/paren.adoc[paren!]
5657
.. link:datatypes/path.adoc[path!]
5758
.. link:datatypes/percent.adoc[percent!]
58-
.. link:datatypes/refinement.adoc[refinement!]
59-
.. link:datatypes/routine.adoc[routine!]
60-
.. link:datatypes/set-path.adoc[set-path!]
61-
.. link:datatypes/set-word.adoc[set-word!]
59+
.. link:datatypes/ref.adoc[ref!]
60+
.. link:datatypes/refinement.adoc[refinement!]
61+
.. link:datatypes/routine.adoc[routine!]
62+
.. link:datatypes/set-path.adoc[set-path!]
63+
.. link:datatypes/set-word.adoc[set-word!]
6264
.. link:datatypes/string.adoc[string!]
6365
.. link:datatypes/tag.adoc[tag!]
6466
.. link:datatypes/time.adoc[time!]
6567
.. link:datatypes/tuple.adoc[tuple!]
66-
.. link:datatypes/typeset.adoc[typeset!]
68+
.. link:datatypes/typeset.adoc[typeset!]
6769
.. link:datatypes/unset.adoc[unset!]
68-
.. link:datatypes/url.adoc[url!]
69-
.. link:datatypes/vector.adoc[vector!]
70+
.. link:datatypes/url.adoc[url!]
71+
.. link:datatypes/vector.adoc[vector!]
7072
.. link:datatypes/word.adoc[word!]
7173

en/datatypes.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use Red effectively, you should become familiar with all the datatypes availa
1515
|link:datatypes/binary.adoc[binary!]|`2#{11111111}`, `16#{2A}`, `64#{2AQQ}`|Series of bytes.
1616
|link:datatypes/bitset.adoc[bitset!]|`-`|Array of bits used to store boolean values.
1717
|link:datatypes/block.adoc[block!]|`[]`, `[one 2 "three"]`, `[print 1.23]`|Collections of data or code that can be evaluated at any point in time.
18-
|link:datatypes/char.adoc[char!]|#"z", #"^C", #"^(esc)"|Unicode code points.
18+
|link:datatypes/char.adoc[char!]|`#"z"`, `#"^C"`, `#"^(esc)"`|Unicode code points.
1919
|link:datatypes/datatype.adoc[datatype!]|`bitset!`, `string!`, `time!`, `word!`|Valid types that are predefined for Red.
2020
|link:datatypes/date.adoc[date!]|`1999-10-5`, `5/10/1999`, `5-October-1999`|Calendar dates, relying on the Gregorian calendar.
2121
|link:datatypes/email.adoc[email!]|`[email protected]`, `[email protected]`|Directly expressed email addresses.
@@ -35,7 +35,7 @@ To use Red effectively, you should become familiar with all the datatypes availa
3535
|link:datatypes/lit-word.adoc[lit-word!]|`'foo`|Unevaluated `word!` value.
3636
|link:datatypes/logic.adoc[logic!]|`true` `false`, `yes` `no`, `on` `off`|Boolean values.
3737
|link:datatypes/map.adoc[map!]|`#( )`, `#(a: 1 b: 2)`|Associative array of key/value pairs.
38-
|link:datatypes/money.adoc[money!]` | `$123`, `-USD$1'234.56789` | Amount of a specific (or generic) currency.
38+
|link:datatypes/money.adoc[money!]|`$123`, `-USD$1'234.56789` | Amount of a specific (or generic) currency.
3939
|link:datatypes/native.adoc[native!]|`-`|External functions written in Red/System.
4040
|link:datatypes/none.adoc[none!]|`-`|Value that does not belong to any other datatype. Analogous to nil or nothing.
4141
|link:datatypes/object.adoc[object!]|`-`|Named or unnamed contexts that contain `word: value` pairs.
@@ -44,7 +44,7 @@ To use Red effectively, you should become familiar with all the datatypes availa
4444
|link:datatypes/paren.adoc[paren!]|`(one 2 "three" 4:00:00)`|Immediately evaluated `block!`.
4545
|link:datatypes/path.adoc[path!]|`foo/bar/baz`|Series of values delimited by slashes `/`. Limited in the types of values that they can contain.
4646
|link:datatypes/percent.adoc[percent!]|`100%`, `0.76%`|Float values expressed as percentages.
47-
|link:datatypes/ref.adoc[ref!]| `@foo` | Denotes a reference by name.
47+
|link:datatypes/ref.adoc[ref!]|`@foo` | Denotes a reference by name.
4848
|link:datatypes/refinement.adoc[refinement!]|`/bar`|Symbolic values used as modifiers to functions or extensions to objects, files, urls, or paths.
4949
|link:datatypes/routine.adoc[routine!]|`-`|Function with a Red spec and Red/System body.
5050
|link:datatypes/set-path.adoc[set-path!]|`foo/bar/baz:`|Sets a "contextual reference" (word in a context, indexes slot in a series, or keyed reference in a series or map).

0 commit comments

Comments
 (0)