StackOverflow Questions for Tag: scala-option

Graham Lea
Graham Lea

Reputation: 6323

How do I find the min() or max() of two Option[Int]

Score: 11

Views: 15394

Answers: 10

Read More
Paul Draper
Paul Draper

Reputation: 83205

Handle Scala Option idiomatically

Score: 9

Views: 6077

Answers: 4

Read More
Michael
Michael

Reputation: 42050

Convert Option to Either in Scala

Score: 35

Views: 28981

Answers: 4

Read More
Cory Klein
Cory Klein

Reputation: 55610

Convert a List into an Option if it is populated

Score: 26

Views: 12123

Answers: 6

Read More
waterlooalex
waterlooalex

Reputation: 13872

Scala: Something like Option (Some, None) but with three states: Some, None, Unknown

Score: 6

Views: 4137

Answers: 7

Read More
oxbow_lakes
oxbow_lakes

Reputation: 134260

Is there a scala identity function?

Score: 75

Views: 40094

Answers: 4

Read More
Ralph
Ralph

Reputation: 32264

How to filter None's out of List[Option]?

Score: 130

Views: 63907

Answers: 4

Read More
St.Antario
St.Antario

Reputation: 27375

Scala ifNotPresent concise form

Score: 0

Views: 38

Answers: 1

Read More
doub1ejack
doub1ejack

Reputation: 11171

Scala: convert string to Int or None

Score: 48

Views: 61526

Answers: 4

Read More
Raman Mishra
Raman Mishra

Reputation: 2686

What is the possible use of (Monad) Option.size in scala

Score: 1

Views: 676

Answers: 2

Read More
kaffein
kaffein

Reputation: 1766

How to retrieve an Option[List[X]] instead of List[X] from a select statement in Play2!Scala Anorm?

Score: 1

Views: 99

Answers: 1

Read More
bZhang
bZhang

Reputation: 307

Using map on Scala with option return types

Score: 0

Views: 68

Answers: 1

Read More
JrPtn
JrPtn

Reputation: 83

Scala: Using Option for key/value pairs in a list

Score: 2

Views: 3083

Answers: 3

Read More
Freewind
Freewind

Reputation: 198188

How to generate json string if the `Json.obj` contains a `None` value?

Score: 1

Views: 790

Answers: 1

Read More
Adrian
Adrian

Reputation: 3792

Type mismatch required: Option[Any] => Option[Nothing]

Score: 0

Views: 224

Answers: 2

Read More
Donuts
Donuts

Reputation: 2241

How do I rewrite this conditional with an option in Scala in a cleaner way?

Score: 0

Views: 1213

Answers: 4

Read More
Christian Yonathan S.
Christian Yonathan S.

Reputation: 185

How Assign Value Option[List[String]] on Scala

Score: 0

Views: 311

Answers: 1

Read More
andrii.ilin
andrii.ilin

Reputation: 55

Scala Some redundant covariance

Score: 1

Views: 303

Answers: 1

Read More
masiboo
masiboo

Reputation: 4719

Scala how to instantiate new Option[java.sql.Date] type

Score: 0

Views: 5051

Answers: 3

Read More
user3370773
user3370773

Reputation: 455

Scala Future with Option()

Score: 1

Views: 493

Answers: 1

Read More
PreviousPage 1Next