composewell / streamly

High performance, concurrent functional programming abstractions
https://streamly.composewell.com
Other
856 stars 64 forks source link

Have StreamK.adapt like ParserK.adapt? #2605

Open harendra-kumar opened 9 months ago

harendra-kumar commented 9 months ago

In streams we have two way conversion StreamK.fromStream and StreamK.toStream but parsers have only one way ParserK.adapt. We could possibly remove StreamK.toStream if there are no sensible use cases for it and rename Stream.fromStream as adapt.