js-to-reasonml-transpiler
js-to-reasonml-transpiler copied to clipboard
what the heck is this |. operator? I haven't seen it in the Reason language basics
Sorry to bother, I just had to ask. Obviously I'm just a curious observer of Reason rather than a user.
E.g.
document |. getBody |. appendChild1(app |. getView);
From the Reason language basics docs I would think it would simply be
document.getBody.appendChild1(app.getView);
Sorry, I don't want to think about programming right now. Perhaps go to the discord channel for ReasonML and ask there? I had the answer in my mind before, but I would have to do all the work to refresh my memory to retrieve this fact in order to share it with you.