@@ -298,6 +298,7 @@ recursiveShowsPrec' showsFPrec = flip . cata $
298298 \ f p ->
299299 showParen (appPrec1 <= p) $
300300 showString embedOperation . showString " " . showsFPrec f appPrec1
301+ {-# INLINEABLE recursiveShowsPrec' #-}
301302
302303-- | An implementation of `showsPrec` for any `Recursive` instance.
303304#if MIN_VERSION_GLASGOW_HASKELL(8, 8, 0, 0) \
@@ -335,6 +336,7 @@ recursiveShowsPrec' showsFPrec = flip . cata $
335336-- `steppableReadPrec`, which requires `Steppable` instead.
336337recursiveShowsPrec :: (Recursive (-> ) t f , Show1 f ) => Int -> t -> ShowS
337338recursiveShowsPrec = recursiveShowsPrec' $ flip showsPrecF
339+ {-# INLINEABLE recursiveShowsPrec #-}
338340
339341-- | Like `steppableReadPrec`, but allows you to provide a custom display
340342-- function for @f@.
@@ -374,6 +376,7 @@ newtype Mu f = Mu (forall a. Algebra (->) f a -> a)
374376
375377instance (Functor f ) => Projectable (-> ) (Mu f ) f where
376378 project = lambek
379+ {-# INLINEABLE project #-}
377380
378381instance (Functor f ) => Steppable (-> ) (Mu f ) f where
379382 embed m = Mu (\ f -> f (fmap (cata f) m))
@@ -386,6 +389,7 @@ instance DFunctor Mu where
386389
387390instance (Functor f , Foldable f , Eq1 f ) => Eq (Mu f ) where
388391 (==) = recursiveEq
392+ {-# INLINEABLE (==) #-}
389393
390394-- | @since 0.6.1.0
391395instance (Functor f , Foldable f , Ord1 f ) => Ord (Mu f ) where
@@ -405,9 +409,11 @@ data Nu f where Nu :: Coalgebra (->) f a -> a -> Nu f
405409
406410instance (Functor f ) => Projectable (-> ) (Nu f ) f where
407411 project (Nu f a) = Nu f <$> f a
412+ {-# INLINEABLE project #-}
408413
409414instance (Functor f ) => Steppable (-> ) (Nu f ) f where
410415 embed = colambek
416+ {-# INLINEABLE embed #-}
411417
412418instance Corecursive (-> ) (Nu f ) f where
413419 ana = Nu
0 commit comments