Top "Maybe" questions

In Haskell, the Maybe type encapsulates an optional value.

Using Maybe type in Haskell

I'm trying to utilize the Maybe type in Haskell. I have a lookup for key, value tuples that returns a …

haskell maybe
How to get the value of a Maybe in Haskell

I'm relatively new to Haskell and began to read "Real World Haskell". I Just stumbled over the type Maybe and …

return-value haskell maybe
Getting 'a' value from 'Maybe a' return type in Haskell

This is going to be hard to explain because there is a decent amount of background detail about the code …

haskell maybe
Why is the use of Maybe/Option not so pervasive in Clojure?

Why does Clojure, despite such an emphasis on functional paradigm, not use the Maybe/ Option monad to represent optional values? …

functional-programming clojure option monads maybe
What is the Maybe type and how does it work?

I am just starting to program in Haskell, and I came across the following definition: calculate :: Float -> Float …

haskell maybe
What exactly makes Option a monad in Scala?

I know what the monads are and how to use them. What I don't understand is what makes, let's say, …

scala haskell functional-programming monads maybe
Accessing scala.None from Java

How can you access scala.None from Java? The last line causes the compiler to die with "type scala.None …

java scala singleton scala-java-interop maybe