on master help sign in
Add a todo comment about rewrite rules in fromStream
commitf54686b50b3475e67747f2567cc806ed54b2c60c authorHarendra Kumar <harendra@composewell.com> dateSat 16 Oct 2021, 00:20 (5 years ago) parent1232ae0
1 file changed+2
src/Streamly/Internal/Data/Unfold.hs+2
src/Streamly/Internal/Data/Unfold.hs+2
@@ -470,6 +470,8 @@ fromStreamK = Unfold step pure
470470
471471-- XXX Using Unfold.fromStreamD seems to be faster (using cross product test
472472-- case) than using fromStream even if it is implemented using fromStreamD.
473+-- Check if StreamK to StreamD rewrite rules are working correctly when
474+-- implementing fromStream using fromStreamD.
473475--
474476-- | Convert a stream into an 'Unfold'. Note that a stream converted to an
475477-- 'Unfold' may not be as efficient as an 'Unfold' in some situations.