Skip to main content

Posts about bucklescript

I've been meaning to make a more comprehensive bucklescript-tea tutorial / example project for a while, and I had an older one partially done but it is a bit out of date now so I've decide to make one anew instead, and to facilitate this I've decided to make a game. Right now most of the 'reference information' about bucklescript-tea is identical to Elm's documentation, so seeing the real-world use of it would be more generically useful.

Read more…

Why might you want to use Bucklescript? Let's explore just how awesome OCaml is to use on javascript over alternative languages and why it has staying power.

OCaml/Bucklescript:

print_endline "Hello World!"

let add l r = l + r

Javascript:

console.log("Hello World!");

function add(l, r) {
  return l + r | 0;
}

Read more…

Contents © 2019 OvermindDL1 Creative Commons License
This work by http://blog.overminddl1.com/ is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License .
Permissions beyond the scope of this license may be available at http://blog.overminddl1.com/ .