diff options
author | Divay Prakash <divayprakash@users.noreply.github.com> | 2018-10-24 11:04:05 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 11:04:05 +0530 |
commit | 4a7d678c2553bc379542a5901177b8bb2730ce65 (patch) | |
tree | b2896f9f02b5a752f860a71a36b1e16c566a8ed7 /purescript.html.markdown | |
parent | e2949649f054ca069e95a05b04d99bccc30ba45d (diff) | |
parent | 8f5a67190705c9a3101653901d8f8a7b48eb1775 (diff) |
Merge branch 'master' into master
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` |