git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
12 lines 478 B history raw
1module Snapshot.AssocArrayAppend where
3import Prelude
5test1 :: Array String -> Array String
6test1 x = [ "a" ] <> ((((([ "b" ] <> x) <> x) <> x) <> x) <> [ "c" ]) <> [ "d" ]
8test2 :: Array String -> Array String
9test2 x = [ "a" ] <> ([ "b" ] <> (x <> (x <> (x <> (x <> [ "c" ]))))) <> [ "d" ]
11test3 :: Array String -> Array String
12test3 x = [ "a" ] <> ([ "b" ] <> (x <> (x <> (x <> (x <> [ "c" ]))))) <> [ "d" ] <> ((((([ "e" ] <> x) <> x) <> x) <> x) <> [ "f" ]) <> [ "g" ]