packages feed

tilia-0.2.0.0: corpora/vendored/pragma/declaration/rules-broken-ahead-of-the-equals-sign-out.hs

module Stream.Fusion where

{-# RULES
"zip/unzip" [~2] forall a b. forall (ps :: [(a, b)]).
  uncurry zip (unzip ps) = ps
"scan/scan"
  scan f (scan g s) = scan (f . g) s
"drain/fill"
  drain
    n
    (fill n) = id
  #-}