summaryrefslogtreecommitdiffhomepage
path: root/purescript.html.markdown
diff options
context:
space:
mode:
authorEmiel van de Laar <gemiel@gmail.com>2021-03-22 12:01:34 +0100
committerEmiel van de Laar <gemiel@gmail.com>2021-03-22 12:01:34 +0100
commitd8fd777ece7a9d8a2bd9f5724659aff1281b215f (patch)
tree9bb7e626dad0e1f67f2c87d4cd88243af420e495 /purescript.html.markdown
parent901dfee4f1d799abc562f36468fc25c218e4349d (diff)
Proper capitalization of JavaScript
Diffstat (limited to 'purescript.html.markdown')
-rw-r--r--purescript.html.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/purescript.html.markdown b/purescript.html.markdown
index 6b74ac64..70c2e188 100644
--- a/purescript.html.markdown
+++ b/purescript.html.markdown
@@ -6,7 +6,7 @@ contributors:
- ["Thimoteus", "https://github.com/Thimoteus"]
---
-PureScript is a small strongly, statically typed language compiling to Javascript.
+PureScript is a small strongly, statically typed language compiling to JavaScript.
* Learn more at [http://www.purescript.org/](http://www.purescript.org/)
* Documentation: [http://pursuit.purescript.org/](http://pursuit.purescript.org/)
@@ -18,7 +18,7 @@ require the `--multi-line-mode` flag.
```haskell
--
--- 1. Primitive datatypes that corresponds to their Javascript
+-- 1. Primitive datatypes that corresponds to their JavaScript
-- equivalents at runtime.
import Prelude
@@ -69,7 +69,7 @@ world""" -- "Hello\nworld"
"such " <> "amaze" -- "such amaze"
--
--- 2. Arrays are Javascript arrays, but must be homogeneous
+-- 2. Arrays are JavaScript arrays, but must be homogeneous
[1,1,2,3,5,8] :: Array Int -- [1,1,2,3,5,8]
[1.2,2.0,3.14] :: Array Number -- [1.2,2.0,3.14]
@@ -97,7 +97,7 @@ take 3 [5,4,3,2,1] -- [5,4,3]
append [1,2,3] [4,5,6] -- [1,2,3,4,5,6]
--
--- 3. Records are Javascript objects, with zero or more fields, which
+-- 3. Records are JavaScript objects, with zero or more fields, which
-- can have different types.
-- In psci you have to write `let` in front of the function to get a
-- top level binding.