3 ms·
No. Reason (bucklescript really) maps to the full range of a data structures. So use a dict as a dict, a record as a record, an array as an array...etc. It wi
by pkilgore 7y ago
No. Reason (bucklescript really) maps to the full range of a data structures. So use a dict as a dict, a record as a record, an array as an array...etc. It will map back to what makes the most sense in the JS world.
As opposed to JS, where really all these things are overloaded onto the same data structure ( object ).