git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
14 lines 243 B history raw
1module Snapshot.FloatLetRegression01 where
3test :: (Int -> Int) -> { b :: Int, c1 :: Int, c2 :: Int }
4test f =
5 ( let
6 b = f 1
7 in
8 ( let
9 c = f 2
10 in
11 { x: { y: { b, c1: c, c2: c } } }
12 ).x
13 ).y