New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scala-swing should cull its residual references to scala-actors #6641
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6641?orig=1 |
@retronym said: |
@som-snytt said (edited on Nov 10, 2012 4:14:24 PM UTC): git://github.com/som-snytt/scala-swing-support.git I was trying to remember whether, when you cull something, you keep it or discard it. Apparently, cull is collect, but a cull is a discard. It's too bad there isn't a collections framework method named cull, perhaps that would somehow work slightly differently from partition. That would be fun. Update: dictionary example: cull the best passages from the poet's work. These examples were culled from the compiler code base. |
@retronym said (edited on Nov 10, 2012 7:51:12 AM UTC): def cull[A](as: Seq[A], cond: A => Boolean, action: A => Unit): Seq[A] =
val (theUnlucky, theLucky) = as partition cond
theUnlucky foreach action
theLucky
} Stay tuned for an easier-to-contribute-to incarnation of scala-swing post 2.10.0. |
@dcsobral said: As for undocumented, etc, etc, I've found another program using it. |
@retronym said: |
See: https://issues.scala-lang.org/browse/SI-6640?focusedCommentId=60822&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-60822
Here there are:
The text was updated successfully, but these errors were encountered: