git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
20 lines 337 B history raw
1-- @fails Binding demanded before initialized
2module Snapshot.RecursiveBindingGroup02 where
4import Prelude
6test :: Int
7test = test1.bar
8 where
9 test1 =
10 { foo: (\_ -> test2.baz) unit
11 , bar: (\_ -> test3 42) unit
12 }
14 test2 =
15 { baz: (\_ -> test1.bar) unit
16 }
18 test3 n
19 | n < 100 = n
20 | otherwise = test1.bar