@@ -23,7 +23,6 @@ module Streamly.Internal.Data.Producer.Type
2323 -- * Mapping
2424 , translate
2525 , lmap
26− , lmap2
2726
2827 -- * Nesting
2928 , NestedLoop (..)
@@ -113,13 +112,6 @@ translate f g (Producer step inject extract) =
113112lmap :: (a -> a) -> Producer m a b -> Producer m a b
114113lmap f (Producer step inject extract) = Producer step (inject . f) extract
115114
116−-- | Map the producer input using the provided translation functions
117−--
118−-- /Pre-release/
119−{-# INLINE_NORMAL lmap2 #-}
120−lmap2 :: Functor m => (a -> c) -> (c -> a) -> Producer m c b -> Producer m a b
121−lmap2 f g (Producer step inject extract) = Producer step (inject . f) (fmap g . extract)
122−
123115------------------------------------------------------------------------------
124116-- Functor
125117------------------------------------------------------------------------------