I am trying to figure out how to create an associative list but cannot find any documentation on it. When I try to create what I think is an assoc list in the reasonml playground I get a syntax error. An example of an assoc list looks like this:
[ 1, "a"; 2, "b"; 3, "c"]
Reference (search for getAssoc
) : https://bucklescript.github.io/bucklescript/api/Belt_List.html