Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Feature/mutliple summer #274

Merged
merged 11 commits into from
Oct 9, 2013
Merged

Feature/mutliple summer #274

merged 11 commits into from
Oct 9, 2013

Conversation

ianoc
Copy link
Collaborator

@ianoc ianoc commented Oct 9, 2013

No description provided.

case _ => false
}
}

def hasSummerAsNextProducer(p: Prod[_]): Boolean = {
depData.dependantsOf(p).get.collect { case s: Summer[_, _, _] => s }.headOption match {
Copy link
Contributor

Choose a reason for hiding this comment

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

super minor, but you can just say .headOption.isDefined here instead of explicitly matching on it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Made that change prior to merge

johnynek added a commit that referenced this pull request Oct 9, 2013
@johnynek johnynek merged commit 726bc52 into develop Oct 9, 2013
@johnynek johnynek deleted the feature/mutliple_summer branch October 9, 2013 02:19
snoble pushed a commit to snoble/summingbird that referenced this pull request Sep 8, 2017
Remove extends function from algebird
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants