Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in scala-option

more elegant way to write if( list.nonEmpty) Some(list.max) else None?

scala return on first Some in list

Coalescing options in Scala

scala scala-option

Why wrapping a generic method call with Option defers ClassCastException?

Why does Option not extend the Iterable trait directly?

Combining 2 Options into 1

scala scala-option

Scala Option - Getting rid of if (opt.isDefined) {}

scala scala-option

Why doesn't Option have a fold method?

scala map fold scala-option

Could/should an implicit conversion from T to Option[T] be added/created in Scala?

scala scala-option

How to flatten list of options using higher order functions?

scala scala-option

Why is foreach better than get for Scala Options?

scala scala-option

How to get an Option from index in Collection in Scala?

scala scala-option

Is there a scala identity function?

How to transform Scala collection of Option[X] to collection of X

Composing Option with List in for-comprehension gives type mismatch depending on order

Wrapping null-returning method in Java with Option in Scala?

java scala scala-option