packages feed

functor-combo 0.3.3 → 0.3.4

raw patch · 3 files changed

+9/−2 lines, 3 files

Files

functor-combo.cabal view
@@ -1,5 +1,5 @@ Name:                functor-combo-Version:             0.3.3+Version:             0.3.4 Cabal-Version:       >= 1.6 Synopsis:            Functor combinators with tries & zippers Category:            Data
src/FunctorCombo/Pair.hs view
@@ -8,7 +8,7 @@ ---------------------------------------------------------------------- -- | -- Module      :  FunctorCombo.Pair--- Copyright   :  (c) 2012 Tabula, Inc.+-- Copyright   :  (c) 2012 Conal Elliott --  -- Maintainer  :  conal@tabula.com -- Stability   :  experimental
src/FunctorCombo/StrictMemo.hs view
@@ -488,6 +488,13 @@   L :: a -> TrieTree Z k a   B :: (k :->: TrieTree n k a) -> TrieTree (S n) k a +-- deriving instance Show a => Show (TrieTree n k a)++-- instance Show a => Show (T n a) where+--   showsPrec p (L a)  = showsApp1 "L" p a+--   showsPrec p (B uv) = showsApp1 "B" p uv++ instance Functor (Trie k) => Functor (TrieTree n k) where   fmap f (L a ) = L (f a)   fmap f (B ts) = B ((fmap.fmap) f ts)