Tag: rescript

  • Debugging tricky parameterized types

    Parameterized functions are fantastic. I’m talking about the functions that operate around some abstract piece of data, without doing anything that would require specific knowledge about that data. Take, for example, the following fictional function: Example The code above is designed to take an option of something, save it somewhere if the option contains data, […]

  • On File Switching in Rescript

    I use Rescript at work, and find that I often want to switch between interface and implementation files. Less often, I also want to inspect the compiled source of a file. This can be a small pain to do by hand, and small pains repeated often become big pains. So here are some VS Code […]