Closed EduardoRFS closed 1 week ago
Currently there is no way to define index operators in Reason only in OCaml, which is a feature available since 4.06
https://ocaml.org/manual/indexops.html
let ( .%{} ) = (tabl, index) => find(tabl, index)
Duplicate of #2432
Currently there is no way to define index operators in Reason only in OCaml, which is a feature available since 4.06
https://ocaml.org/manual/indexops.html