Skip to main content
Hyperglot Programmer
side navigation

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…

I am setting up a new project that will be using Phoenix and Elm together, so I am taking this opportunity to document the process to make it easier for others to set up as well. Maybe I should turn this into a mix 'new'able template sometime...

Read more…

For my first content-post here I think I will touch on one of Elixir's niggles that bug me, the pipe operator, or specifically one of the few things that bug me about it. Now do not take this that I hate the pipe operator, I love it, however it does have a few warts, so lets talk about one of them today.

Regardless of my opinion of where a functional pipe operator like Elixir's |> should put arguments (at the end, not the beginning), wouldn't it be nice to be able to specify where a piped in argument was placed for those needed cases?

Read more…