Tuples, Lists and Arrays in Reason

Nik Graf
InstructorNik Graf

Share this video with your friends

Send Tweet

ReasonML ships with a couple more useful data structures to store multiple elements. Tuple is one of them. It allows us to store a fixed number of values of any kind of type. While lists are homogeneous and immutable. Arrays are mutable.

In this lesson we explore multiples ways on how to create, access and update each of these data structures.