Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0086d2d

Browse files
committed
lint: fixed typos
1 parent0a8448d commit0086d2d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

‎docs/compute-engine/50-math-json.md‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ A MathJSON expression is a combination of **numbers**, **symbols**, **strings**,
155155
{"fn": ["Add", {"num":"1"}, {"sym":"x"}]}
156156
```
157157

158+
**Dictionary**
159+
160+
```json example
161+
{"dict": {"x":2,"y":3}}
162+
["Dictionary", ["Tuple","'x'",2], ["Tuple","'y'",3]]
163+
```
158164

159165
**Numbers**,**symbols**,**strings** and**functions** are expressed either as
160166
object literals with a`"num"``"str"``"sym"` or`"fn"` key, respectively, or
@@ -742,8 +748,8 @@ its arguments being tuples of key-value pairs.
742748

743749
```json example
744750
["Dictionary",
745-
["Tuple","x",120],
746-
["Tuple","y",36]
751+
["Tuple","'x'",120],
752+
["Tuple","'y'",36]
747753
]
748754
```
749755

@@ -754,8 +760,8 @@ For example, the following dictionary contains an expression and a list as value
754760

755761
```json example
756762
["Dictionary",
757-
["Tuple","expression", ["Add","x",1]],
758-
["Tuple","list", ["List",1,2,3]]
763+
["Tuple","'expression'", ["Add","x",1]],
764+
["Tuple","'list'", ["List",1,2,3]]
759765
]
760766
```
761767

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp