File: ArrowLayout.hs

package info (click to toggle)
haskell-src-exts 1.17.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 52,024 kB
  • ctags: 4
  • sloc: haskell: 28,382; makefile: 12
file content (7 lines) | stat: -rw-r--r-- 130 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
{-# LANGUAGE Arrows #-}
module ArrowLayout where

exp = proc () -> do
  rec let e = 1 + i
      i <- integral -< e
  returnA -< e