mirror of
https://github.com/composewell/streamly.git
synced 2024-10-26 11:39:05 +03:00
Make the note of eta-reduction under mapFB more evident
This commit is contained in:
parent
6f68b50d18
commit
6dd122a47a
@ -770,7 +770,9 @@ instance Monoid (Stream m a) where
|
||||
-- Functor
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
-- Note eta expanded
|
||||
-- IMPORTANT: This is eta expanded on purpose. This should not be eta
|
||||
-- reduced. This will cause a lot of regressions, probably because of some
|
||||
-- rewrite rules. Ideally don't run hlint on this file.
|
||||
{-# INLINE_LATE mapFB #-}
|
||||
mapFB :: forall b m a.
|
||||
(b -> Stream m b -> Stream m b)
|
||||
|
Loading…
Reference in New Issue
Block a user