Skip to content

add .groupWith method to TypedPipe#1406

Merged
johnynek merged 1 commit intotwitter:developfrom
tdyas:groupWith_method
Aug 5, 2015
Merged

add .groupWith method to TypedPipe#1406
johnynek merged 1 commit intotwitter:developfrom
tdyas:groupWith_method

Conversation

@tdyas
Copy link
Contributor

@tdyas tdyas commented Aug 5, 2015

This method is more convenient than trying to pass the Ordering[K] explicitly into the .group method because there is no need to also specify the evidence parameter proving that the TypedPipe[T] is a TypedPipe[(K, V)].

This method is more convenient than trying to pass the Ordering[K] explicitly
into the .group method because there is no need to also specify the evidence
parameter proving that the TypedPipe[T] is a TypedPipe[(K, V)].
@ianoc
Copy link
Collaborator

ianoc commented Aug 5, 2015

is it worth it over doing .group(implicitly, myordering) ?

@tdyas
Copy link
Contributor Author

tdyas commented Aug 5, 2015

The use of implicitly there feels like a workaround and not a natural part of the API.

johnynek added a commit that referenced this pull request Aug 5, 2015
add .groupWith method to TypedPipe
@johnynek johnynek merged commit a2b5215 into twitter:develop Aug 5, 2015
@tdyas tdyas deleted the groupWith_method branch August 6, 2015 03:33
@ianoc ianoc mentioned this pull request Aug 10, 2015
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.

3 participants

Comments