Roman Elizarov
1 min readFeb 18, 2019

--

OCaml does not have the concept on null (in any way similar to Java or C), so it does not have to deal with it. In OCaml it is idiomatic to use Option type to represent a value that can be either missing (None) or contain some value (Some x) .

--

--

Roman Elizarov
Roman Elizarov

Written by Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

No responses yet