Guest User

Untitled

a guest
Jan 16th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. object P11 {
  2. import P10.encode
  3. def encodeModified[A](ls: List[A]): List[Any] =
  4. encode(ls) map { t => if (t._1 == 1) t._2 else t }
Add Comment
Please, Sign In to add comment