Skip to content

Commit

Permalink
Make foldM INLINEABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Aug 15, 2014
1 parent ff5a258 commit 4b901be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conduit/Data/Conduit/List.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ foldM f =
go a = do
accum' <- lift $ f accum a
accum' `seq` loop accum'
{-# INLINEABLE foldM #-}

-- | A monoidal strict left fold.
--
Expand Down

0 comments on commit 4b901be

Please sign in to comment.