playframework/Play20 — comment on commit f35fd305d98038ab0fe3f8076368ee7f8d90015b
File:  line 0
By sadache:

(User.instance ~ Permission.instance *).map (_.groupBy(_._1).mapValues
(_.map(_._2)))

I will probably add helpers for this kind of cases.

On Fri, Jan 6, 2012 at 12:40 AM, recalcitrant <
reply@reply.github.com
> wrote:

> Somehow the comment-window swallowed some underscores, one more try:
>
> (User.instance ~ Permission.instance *) map (_.groupBy(_._1) mapValues
> (_._2))
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/playframework/Play20/commit/f35fd305d98038ab0fe3f8076368ee7f8d90015b#commitcomment-842113
>

--
www.sadekdrobi.com
ʎdoɹʇuǝ