git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Sugar up Array show.
c6b37d9joneshf
prelude/prelude.purs+1−1
@@ -636,7 +636,7 @@ module Arrays where
636
636
637 instance (Prelude.Show a) => Prelude.Show [a] where
637 instance (Prelude.Show a) => Prelude.Show [a] where
638 show [] = "[]"
638 show [] = "[]"
639− show (x:xs) = show x ++ " : " ++ show xs
639+ show xs = "[" ++ joinWith (map show xs) "," ++ "]"
640
640
641 instance Prelude.Functor [] where
641 instance Prelude.Functor [] where
642 (<$>) = map
642 (<$>) = map