Using Reason's Type option

InstructorNik Graf

Share this video with your friends

Send Tweet

ReasonML doesn't null. Still sometimes we want to refer to something and don't know ahead if a corresponding value will be available. Reason therefor offers the Variant option shipping with the standard library.