- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: Re: Any way to get the effect of Option without always explicitly using Some or None?
Sat, 2011-09-03, 01:14
Just to be clear, you can always get away from explicit constructor use with a combination of map and getOrElse. The question is whether or not there exists a suitable specialisation for your use-case. Without looking, and for Option, the answer is almost always yes. If you can be specific for the use-case we may be able to critique it.
Hoping to finish the chapter on monoids today.
On 03/09/2011 7:55 AM, "Ken McDonald" <ykkenmcd@gmail.com> wrote: