From b37867fe6e00b215ee4d99788deb605b29c72539 Mon Sep 17 00:00:00 2001 From: Kris Jenkins Date: Mon, 20 Mar 2017 17:20:21 +0100 Subject: [PATCH] Updating the PureScript string concatenation eg. (#2686) https://github.com/purescript/purescript/wiki/Differences-from-Haskell ...says: > Since 0.9.1, the Prelude library does not contain (++) as a second alias for append / (<>) (mappend in Haskell) anymore. So: ``` -- Concatenate "such " ++ "amaze" -- "such amaze" ``` ...should read: ``` -- Concatenate "such " <> "amaze" -- "such amaze" ``` --- purescript.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purescript.html.markdown b/purescript.html.markdown index 19346760..9ea84d5b 100644 --- a/purescript.html.markdown +++ b/purescript.html.markdown @@ -65,7 +65,7 @@ true && (9 >= 19 || 1 < 2) -- true """Hello world""" -- "Hello\nworld" -- Concatenate -"such " ++ "amaze" -- "such amaze" +"such " <> "amaze" -- "such amaze" -- -- 2. Arrays are Javascript arrays, but must be homogeneous