Skip to content

Conversation

@harendra-kumar
Copy link
Member

No description provided.

-- > extendL xs b = build xs <> b
--
-- /Internal/
--
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annotating with time complexity is useful.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that the complexity is not associated with this operation as such but with the later consumption of the container. Its explained in the overall docs.

@adithyaov
Copy link
Member

What is the idea behind builder? I believe it is related to the work you are doing on SVar?

So that we do not depend on the semigroup instance. Ideally, we do not
want a semigroup instance in streams as it is frought with performance
problems when left associated. Instead, we should use the builder to
compose streams.
@harendra-kumar harendra-kumar mentioned this pull request Apr 23, 2021
35 tasks
@harendra-kumar harendra-kumar marked this pull request as draft June 21, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants