diff options
author | SmuSmu <SmuSmu@users.noreply.github.com> | 2018-10-29 10:38:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 10:38:48 +0100 |
commit | 1372607b2ae40edf54fe4d04e3dfd3b789016c8e (patch) | |
tree | 95d30e2ae24ffaf6acb66f671b20e6b75713f0c3 /purescript.html.markdown | |
parent | 3a41a6006ff421b45ae46a521b900216ac28daf7 (diff) | |
parent | 9317733e2388ccafeea9c331443fe5f42b611390 (diff) |
Merge pull request #1 from adambard/master
ff
Diffstat (limited to 'purescript.html.markdown')
-rw-r--r-- | purescript.html.markdown | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/purescript.html.markdown b/purescript.html.markdown index df0cb66e..6b74ac64 100644 --- a/purescript.html.markdown +++ b/purescript.html.markdown @@ -71,7 +71,8 @@ world""" -- "Hello\nworld" -- -- 2. Arrays are Javascript arrays, but must be homogeneous -[1,1,2,3,5,8] :: Array Number -- [1,1,2,3,5,8] +[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] [true, true, false] :: Array Boolean -- [true,true,false] -- [1,2, true, "false"] won't work -- `Cannot unify Prim.Int with Prim.Boolean` |