On Tue, Oct 30, 2012 at 8:12 PM, Josh Berry <tae...@gmail.com> wrote:

> Typing it, it occurs to me I could probably just skip the Option
> entirely (Right?  That just drops the Some from the two cases I
> define.).
>

Yes, that was my reaction as well. There is little point in lifting a value
into Option and immediately pattern matching on it to process its value...
Like I said, it's basically a more contrived version of testing against
null.

-- 
Cédric

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to