git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Sugar up Array show.
commitc6b37d94a10e6806b53f377c634741c0951c079e authorjoneshf <jones3.hardy@gmail.com> dateMon 17 Feb 2014, 11:28 (13 years ago) parent1e3c158
1 file changed+1−1
prelude/prelude.purs+1−1
prelude/prelude.purs+1−1
@@ -636,7 +636,7 @@ module Arrays where
636636
637637 instance (Prelude.Show a) => Prelude.Show [a] where
638638 show [] = "[]"
639− show (x:xs) = show x ++ " : " ++ show xs
639+ show xs = "[" ++ joinWith (map show xs) "," ++ "]"
640640
641641 instance Prelude.Functor [] where
642642 (<$>) = map