KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Converting a tuple of options to an option of tuple with Scalaz or Shapeless
Asked 2012-09-13T14:03:52.247
▲
19
▼
Having
(Some(1), Some(2))
I expect to get
Some((1, 2))
and having
(Some(1), None)
I expect to get
None
scala
scalaz
shapeless
Copy Link
Twitter
Facebook
LinkedIn
Share
Edit
Save
Report
Add comment
0 Answers
Your Answer
Post Your Answer