Why is the Scala Option type not called Maybe, just as in Haskell?Maybe makes a lot more semantic sense to me, but maybe Option has different behaviour I am not aware of.Is there any particular reason why Option in Scala was not called Maybe?
Why is the Scala Option type not called Maybe, just as in Haskell?
language design;haskell;scala;naming standards;monad
Scala is also inspired by Ocaml, which uses Option.Options are an Ocaml standard type that can be either None (undefined) or Some x where x can be any value. Options are widely used in Ocaml to represent undefined values (a little like NULL in C, but in a type and memory safe way)...I think the name chosen is a matter of taste.