Tag: ocaml

  • Building a Full-Stack Type-Safe Website with OCaml

    Introduction In today’s fast-paced web development world, building reliable and maintainable applications is crucial. Type safety plays a significant role in catching errors early in the development process, reducing bugs, and improving code quality. OCaml, a statically typed functional programming language, offers robust features that make it an excellent choice for full-stack web development. This […]

  • Better way to decode JSON in ReasonML/ReasonReact

    Recently I was working on some reasonml/ReasonReact project which required to request data in JSON format from an API endpoint, well there are some BuckleScript decoders such https://github.com/glennsl/bs-json which is the more popular one, the way you decode is pretty easy: point = { x: int, y: int }; let point = json => Json.Decode.{ […]

  • Convert React project to ReasonReact project

    Recently I converted one of my old React project while studying React from Udacity sometime back, Since I am reading ReasonML recently so I thought I might as well convert to ReasonML language or ReasonReact, you can find it here. MyRead ReasonReact