StackOverflow Questions for Tag: scala-option

Graham Lea
Graham Lea

Reputation: 6343

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

Score: 11

Views: 15451

Answers: 10

Read More
Paul Draper
Paul Draper

Reputation: 83353

Handle Scala Option idiomatically

Score: 9

Views: 6109

Answers: 4

Read More
Michael
Michael

Reputation: 42100

Convert Option to Either in Scala

Score: 36

Views: 29060

Answers: 4

Read More
Cory Klein
Cory Klein

Reputation: 55800

Convert a List into an Option if it is populated

Score: 26

Views: 12166

Answers: 6

Read More
waterlooalex
waterlooalex

Reputation: 13912

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

Score: 6

Views: 4142

Answers: 7

Read More
oxbow_lakes
oxbow_lakes

Reputation: 134320

Is there a scala identity function?

Score: 75

Views: 40185

Answers: 4

Read More
Ralph
Ralph

Reputation: 32304

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

Score: 130

Views: 64032

Answers: 4

Read More
St.Antario
St.Antario

Reputation: 27435

Scala ifNotPresent concise form

Score: 0

Views: 38

Answers: 1

Read More
doub1ejack
doub1ejack

Reputation: 11181

Scala: convert string to Int or None

Score: 48

Views: 61948

Answers: 4

Read More
Raman Mishra
Raman Mishra

Reputation: 2686

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

Score: 1

Views: 679

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: 3084

Answers: 3

Read More
Freewind
Freewind

Reputation: 198358

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: 2251

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: 5060

Answers: 3

Read More
user3370773
user3370773

Reputation: 455

Scala Future with Option()

Score: 1

Views: 493

Answers: 1

Read More
PreviousPage 1Next