Skip to content

Instantly share code, notes, and snippets.

Created June 15, 2017 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7092ab3d3e3f97ddf8cb55b8b4f67aed to your computer and use it in GitHub Desktop.
Save anonymous/7092ab3d3e3f97ddf8cb55b8b4f67aed to your computer and use it in GitHub Desktop.
the description for this gist
trait PLens[S, T, A, B] {
def get(s: S): A
def set(b: B)(s: S): T
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment