Skip to content

PagedSeq isn't a monad #8623

Closed
Closed
@scabug

Description

@scabug

PagedSeq's documentation promises that x.map(f) will return a PagedSeq, but in fact it defers to immutable.IndexedSeq's builder and thus ends up a Vector. This is tolerable behavior, but the documentation should reflect the actual behavior. Oddly, drop gives a Vector while slice gives a PagedSeq.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions