Java folks must appreciate ,that Haskell does not have Null type
For optional values it got elegant solution –
Maybe a = Just a
for example [Just 1,Just 2,Just 3,Nothing ] is a list of type Maybe Integer
and another being more helpful
Either a b = Right a
Left might contain an error message and Right a correct value .