webbureaucratwebbureaucrat.hashnode.dev·May 11, 2023Writing Elm Ports in ReScript - 0.3This is an update to a previous article following a breaking change in the res-elm binding. In short, the init function has been broken up into init and initWithOptions to allow for Elm initialization flags and Elm web applications. Recently I've pub...DiscussELM
webbureaucratwebbureaucrat.hashnode.dev·May 2, 2023Binding to a JavaScript Function that Returns a Variant in ReScriptReScript provides easy ways to bind to most JavaScript functions in a way that feels both native and safe. Conveniently, it even provides an @unwrap decorator for parametric polymorphism. However, there are a few places where we still have to fill in...Discuss·51 readsJavaScript
webbureaucratwebbureaucrat.hashnode.dev·Apr 20, 2023Parsing JSON in ReScript Part III: Getting to the PointAfter having established some requirements and some basic utilities, we're ready for the fun part: putting the pieces together. At the end of this post, we will have our working parser. Writing our pipeline functions When we use our parsing library, ...Discussrescript
webbureaucratwebbureaucrat.hashnode.dev·Apr 18, 2023Parsing JSON in ReScript Part II: Building BlocksThis is the second in a series of articles on how to build one's own, general-purpose parsing library. After having established a few expectations in the previous post, we are ready to begin building our utilities for our library. Let's start with so...Discussrescript
webbureaucratwebbureaucrat.hashnode.dev·Apr 17, 2023Parsing JSON in ReScript Part I: Prerequisites and RequirementsThere are few things more satisfying than a slick, readable, and safe JSON parser. It's one of the joys of functional programming. Using a good JSON parsing pipeline can feel like magic. This series seeks to lift the veil and empower readers (and, im...Discussrescript
Jaeho Leeblog.jaeholee.com·Jan 27, 2023웹 프론트엔드 ReScript 실무 사용에 대한 간단한 메모ReScript를 아마 실무에서 1년이상 써본 사람은 많지는 않을 것 같은데 (굳이 그 대상을 한국으로 한정짓지 않아도), 사실 제대로 된 블로그 글을 쓸만한 여유는 없고 그 경험을 메모처럼 적어본다. ReScript에 관심이 있지만 실무에 도입할 만한지 고민하는 사람들이 있을 것이라고 생각한다. 특히 TypeScript 대비 큰 장점이 있는지, 도입에 문제가 될만한 부분이 있는지 궁금해할 것 같다. 입지가 잘 다져지지 않은 언어를 영업을 해야...Discussrescript
Arnab Senarnabsen.dev·Aug 21, 2022Hello World! in Rescript-ReactHello World! in Rescript React What is Rescript? 🤔 It is a language that combines the best parts of JS and OCaml. It has a compiler that compiles to JS and leverages OCaml’s static and sound type system. The compiler was originally named BuckleScrip...Discuss·8 likes·43 readsReact