
Tech Talk: The Reason For Types with Jared Forsyth on ReasonML and Javascript
CoRecursive: Coding Stories
00:00
JavaScript Compiler - Immutability
The BuckleScript internal representation is a JavaScript array with two elements. And if I want to use something that outputs a reason list, but from JavaScript, what does it end up looking like? It'll be a linked list. So generally, when you're writing interface code between reason and JavaScript, you're converting your list to arrays. There are the hash array maps, try things that the closure has that has some cool properties.
Transcript
Play full episode