Closed harendra-kumar closed 9 months ago
size :: a -> Sum Int
It should be Int -> a -> Int or a variant of that kind. Or a -> Sum (Int -> Int). We should have a Sum builder.
Int -> a -> Int
a -> Sum (Int -> Int)
Sum
See https://github.com/composewell/streamly/pull/2574