Go ProSign in
Get Started with Reason

Get Started with Reason


    Tuples, Lists and Arrays in Reason

    Nik GrafNik Graf

    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.

    You must be a Member to view code