purescript-0.15.15: tests/purs/passing/1807.purs
module Main where
import Prelude
import Effect.Console (log)
fn = _.b.c.d
a = {b:{c:{d:2}}}
d :: Int
d = fn a + a.b.c.d
main = if fn a + a.b.c.d == 4
then log "Done"
else log "Fail"
module Main where
import Prelude
import Effect.Console (log)
fn = _.b.c.d
a = {b:{c:{d:2}}}
d :: Int
d = fn a + a.b.c.d
main = if fn a + a.b.c.d == 4
then log "Done"
else log "Fail"