Learning OCaml: Functions without Parameters
A couple of days ago I noticed on OCaml’s Discord server that someone was confused by OCaml function applications (invocations) like these: print_newline () read_input () To people coming from ...
A couple of days ago I noticed on OCaml’s Discord server that someone was confused by OCaml function applications (invocations) like these: print_newline () read_input () To people coming from ...
.zshrc simplicity is the ultimate sophistication. – Leonardo Da Zshinci I’ve been using the Z Shell (a.k.a. Zsh) for a very long time now. There was a time early on in my Zsh journey when I r...
I maintain many open-source projects and one of the most common tasks for me is to “create a GitHub release”, which is more or less the process of attaching some release notes and build artifacts t...
I’ve noticed that some newcomers to OCaml are a bit confused by code like the following: let () = print_endline "Hello, world" let _ = foo bar Both of those are forms of pattern matching, but o...
When people think of OCaml they are usually thinking of compiling code to a binary before they are able to run it. While most OCaml code is indeed compiled to binaries, you don’t really need to do ...
Lately I’ve been a bit bored with my tried and true development tools and I’ve been playing with some alternatives. One of the most interesting tools I came across is the Helix editor. It’s inspire...
Today I wanted to update a bit markup in my blog and it took me some time to get it right. Basically I wanted to replace the language in some fenced code blocks and my instinct was to go for a comb...
Yesterday I’ve installed the newly released Ruby 3.4, but this caused an issue with Jekyll: bundler: failed to load command: jekyll (/Users/bbatsov/.rbenv/versions/3.4.1/bin/jekyll) <internal:/...
While I was setting up my new mac mini yesterday I noticed something interesting - Apple have stopped shipping the ancient Emacs 22.1 with macOS! As I was mostly using Windows + WSL2 in the past 5 ...
I guess most of you are aware that I’ve been using Windows 11 + WSL as my main development environment in the past 4 years.1 I’ve spent some time running Emacs with the built-in Windows Wayland ser...