summaryrefslogtreecommitdiffhomepage
path: root/edn.html.markdown
diff options
context:
space:
mode:
authorWillie Zhu <zhuwillie11@gmail.com>2015-10-31 15:27:44 -0400
committerWillie Zhu <zhuwillie11@gmail.com>2015-10-31 15:35:33 -0400
commit38506983bb1d589734268b62bb87b4bad4601733 (patch)
treef825fe8c6827b25f90986af81072f7643ab0cdcf /edn.html.markdown
parent5b0db44e7c5f0a69dfa670eee13fbc011f76830a (diff)
[edn/en] Fix grammar
Diffstat (limited to 'edn.html.markdown')
-rw-r--r--edn.html.markdown16
1 files changed, 8 insertions, 8 deletions
diff --git a/edn.html.markdown b/edn.html.markdown
index 0a0dc9b5..d0bdddfc 100644
--- a/edn.html.markdown
+++ b/edn.html.markdown
@@ -5,13 +5,13 @@ contributors:
- ["Jason Yeo", "https://github.com/jsyeo"]
---
-Extensible Data Notation or EDN for short is a format for serializing data.
+Extensible Data Notation (EDN) is a format for serializing data.
-The notation is used internally by Clojure to represent programs and it also
+The notation is used internally by Clojure to represent programs. It is also
used as a data transfer format like JSON. Though it is more commonly used in
-Clojure land, there are implementations of EDN for many other languages.
+Clojure, there are implementations of EDN for many other languages.
-The main benefit of EDN over JSON and YAML is that it is extensible, which we
+The main benefit of EDN over JSON and YAML is that it is extensible. We
will see how it is extended later on.
```Clojure
@@ -59,7 +59,7 @@ false
; Vectors allow random access
[:gelato 1 2 -2]
-; Maps are associative data structures that associates the key with its value
+; Maps are associative data structures that associate the key with its value
{:eggs 2
:lemon-juice 3.5
:butter 1}
@@ -68,7 +68,7 @@ false
{[1 2 3 4] "tell the people what she wore",
[5 6 7 8] "the more you see the more you hate"}
-; You may use commas for readability. They are treated as whitespaces.
+; You may use commas for readability. They are treated as whitespace.
; Sets are collections that contain unique elements.
#{:a :b 88 "huat"}
@@ -82,11 +82,11 @@ false
#MyYelpClone/MenuItem {:name "eggs-benedict" :rating 10}
; Let me explain this with a clojure example. Suppose I want to transform that
-; piece of edn into a MenuItem record.
+; piece of EDN into a MenuItem record.
(defrecord MenuItem [name rating])
-; To transform edn to clojure values, I will need to use the built in EDN
+; To transform EDN to clojure values, I will need to use the built in EDN
; reader, edn/read-string
(edn/read-string "{:eggs 2 :butter 1 :flour 5}")