Skip to content

Instantly share code, notes, and snippets.

@robertberry-zz
Created March 21, 2014 15:21
Show Gist options
  • Save robertberry-zz/9688667 to your computer and use it in GitHub Desktop.
Save robertberry-zz/9688667 to your computer and use it in GitHub Desktop.
val groups = listTailPLens[Group].mod(
_.map(group => Group.required.set(group, false)),
collections.map(Group.fromCollection)
) ++ premiumGroups
val groups2 = listHeadPLens[Group].mod(
Group.showHeader.set(_, false),
groups
)
@robertberry-zz
Copy link
Author

Help me with your scalaz-fu, Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment