streams 0.8.0.1 → 0.8.0.2
raw patch · 3 files changed
+11/−3 lines, 3 files
Files
Data/Stream/Infinite/Functional/Zipper.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE DeriveDataTypeable, PatternGuards, BangPatterns #-}+{-# LANGUAGE CPP, PatternGuards, BangPatterns #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Zipper.Infinite.Functional.Zipper@@ -52,7 +52,9 @@ import Control.Applicative import Control.Comonad -- import Data.Char (isSpace)+#ifdef LANGUAGE_DeriveDataTypeable import Data.Data+#endif import Data.Functor.Apply -- import Data.Monoid import Data.Semigroup@@ -63,7 +65,9 @@ -- import Data.Zipper.NonEmpty (NonEmpty(..)) data Zipper a = !Integer :~ !(Integer -> a)+#ifdef LANGUAGE_DeriveDataTypeable deriving Typeable+#endif toSequence :: (Integer -> a) -> Zipper a toSequence = (0 :~)
Data/Stream/Supply.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE CPP, FlexibleContexts, UndecidableInstances #-}+{-# LANGUAGE CPP, FlexibleContexts #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Stream.Supply
streams.cabal view
@@ -1,6 +1,6 @@ name: streams category: Control, Comonads-version: 0.8.0.1+version: 0.8.0.2 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE@@ -75,6 +75,10 @@ location: git://github.com/ekmett/streams.git library+ other-extensions:+ PatternGuards+ BangPatterns+ build-depends: base >= 4 && < 5, comonad >= 1.1 && < 1.2,