[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tomelr 0ba5f2ff69 24/84: chore(readme): Move mixed type
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tomelr 0ba5f2ff69 24/84: chore(readme): Move mixed type array example to the 'medley' example |
Date: |
Tue, 3 May 2022 09:58:09 -0400 (EDT) |
branch: externals/tomelr
commit 0ba5f2ff69b1c6a3f4fcfe89e6b54bca11b4d1d2
Author: Kaushal Modi <kaushal.modi@gmail.com>
Commit: Kaushal Modi <kaushal.modi@gmail.com>
chore(readme): Move mixed type array example to the 'medley' example
---
README.org | 36 +++++++++++++++++-------------------
1 file changed, 17 insertions(+), 19 deletions(-)
diff --git a/README.org b/README.org
index 948d37fdaa..937d0c9462 100644
--- a/README.org
+++ b/README.org
@@ -341,22 +341,12 @@ numbers = [ 0.1, 0.2, 0.5, 1, 2, 5 ]
**** S-expression
#+begin_src emacs-lisp :eval no :noweb-ref array-of-arrays
'((nested_arrays_of_ints . [(1 2) (3 4 5)])
- (nested_mixed_array . [(1 2) ("a" "b" "c")])
- (contributors . ("Foo Bar <foo@example.com>"
- ((name . "Baz Qux")
- (email . "bazqux@example.com")
- (url . "https://example.com/bazqux")))))
+ (nested_mixed_array . [(1 2) ("a" "b" "c")]))
#+end_src
**** TOML
#+begin_src toml
nested_arrays_of_ints = [ [ 1, 2 ], [3, 4, 5] ]
nested_mixed_array = [ [ 1, 2 ], ["a", "b", "c"] ]
-
-# Mixed-type arrays are allowed
-contributors = [
- "Foo Bar <foo@example.com>",
- { name = "Baz Qux", email = "bazqux@example.com", url =
"https://example.com/bazqux" }
-]
#+end_src
**** JSON Reference
#+begin_src emacs-lisp :noweb yes :exports results
@@ -388,14 +378,6 @@ contributors = [
"b",
"c"
]
- ],
- "contributors": [
- "Foo Bar <foo@example.com>",
- {
- "name": "Baz Qux",
- "email": "bazqux@example.com",
- "url": "https://example.com/bazqux"
- }
]
}
#+end_example
@@ -589,6 +571,10 @@ See
[org#Drawers](https://www.gnu.org/software/emacs/manual/html_mono/org.html#D
(integers . (123 -5 17 1234))
(floats . (12.3 -5.0 -1.7e-05))
(booleans . (t :false))
+ (contributors . ("Foo Bar <foo@example.com>"
+ ((name . "Baz Qux")
+ (email . "bazqux@example.com")
+ (url . "https://example.com/bazqux"))))
(dog . ((legs . 4)
(eyes . 2)
(friends . ("poo" "boo"))))
@@ -644,6 +630,10 @@ strings-symbols = ["abc", "def", "two words"]
integers = [123, -5, 17, 1_234]
floats = [12.3, -5.0, -1.7e-05]
booleans = [true, false]
+contributors = [
+ "Foo Bar <foo@example.com>",
+ { name = "Baz Qux", email = "bazqux@example.com", url =
"https://example.com/bazqux" }
+]
[dog]
legs = 4
eyes = 2
@@ -767,6 +757,14 @@ booleans = [true, false]
true,
false
],
+ "contributors": [
+ "Foo Bar <foo@example.com>",
+ {
+ "name": "Baz Qux",
+ "email": "bazqux@example.com",
+ "url": "https://example.com/bazqux"
+ }
+ ],
"dog": {
"legs": 4,
"eyes": 2,
- [elpa] externals/tomelr ec381fd723 79/84: fix: Auto-stringify and auto-quote symbol values, (continued)
- [elpa] externals/tomelr ec381fd723 79/84: fix: Auto-stringify and auto-quote symbol values, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr a25d952a17 77/84: feat: Auto-coerce string to integers, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr b2ba4c46b5 82/84: refactor: Minor code reorg, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr d86fd721ce 63/84: fix: Compatibility for emacs 26.3, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr a1fa47379e 84/84: chore: Add CHANGELOG generated using git cliff tool, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr ae983711be 78/84: fix: Auto-stringify symbols like 1.10.1, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 61397410af 01/84: Initial empty commit, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 846676a172 06/84: feat: Add plist example, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 8bc506af5a 02/84: Add s-exp->toml examples and spec, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 7d8d41f15b 19/84: feat: Encode to multi-line TOML string automatically, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 0ba5f2ff69 24/84: chore(readme): Move mixed type array example to the 'medley' example,
ELPA Syncer <=
- [elpa] externals/tomelr ca9245038a 35/84: fix: Attempt to make tomelr--toml-table-p more robust, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 000067cf7d 14/84: chore(readme): Update, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 69217d47a6 22/84: feat: Skip converting keys whose values are nil, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr af40c0b40f 11/84: fix: Require subr-x for older Emacs versions, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 060c38b934 16/84: chore(readme): Limit up to 3 levels of headings for Org exports, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 20bf9e6c54 12/84: chore(doc): Add GHA and license badges, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr f37841cc78 25/84: test: Add test for TOML Array of Arrays, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr cedb75df72 29/84: feat: Support basic TOML tables, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 91800b26b8 21/84: feat: Recognize RFC 3339 formatted date-time + offset, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 83e924559e 13/84: chore(doc): Fix typo, ELPA Syncer, 2022/05/03