packages feed

fourmolu-0.0.6.0: data/examples/declaration/value/function/arrow/proc-do-simple2-out.hs

{-# LANGUAGE Arrows #-}

foo f = proc a -> do
  f -< a

bazbaz f g h = proc (a, b, c) -> do
  x <-
    f b -< a
  y <-
    g b -< b
  z <-
    h
      x
      y
      -<
        ( a,
          b,
          c
        )
  returnA
    -<
      (x, y, z)