docs: add note about strings
This commit is contained in:
parent
a6474dd049
commit
270c3962e1
|
@ -12,7 +12,7 @@ When parsing and building TOML documents, guile-toml follows [[https://github.co
|
|||
|
||||
| TOML | Guile |
|
||||
|----------------+------------------|
|
||||
| string | string |
|
||||
| string | string [0] |
|
||||
| key-value pair | alist |
|
||||
| array | vector |
|
||||
| integer/float | real |
|
||||
|
@ -24,6 +24,8 @@ When parsing and building TOML documents, guile-toml follows [[https://github.co
|
|||
|
||||
To start using guile-toml: ~(use-modules (toml))~
|
||||
|
||||
[0]: TOML's default behaviour for invalid UTF-8 is to fail, whereas [[https://www.gnu.org/software/guile/manual/html_node/Encoding.html][Guile's default behavior]] is to replace invalid UTF-8 with <20>. If you prefer TOML's behavior, use ~(set-port-conversion-strategy! (current-input-port) 'error)~.
|
||||
|
||||
[1]: TOML's ~time-local~ is parsed same as a ~datetime-local~ on the date of ~1970-01-01~.
|
||||
|
||||
*** Reading TOML documents
|
||||
|
|
Loading…
Reference in New Issue