Learning OCaml: Parsing Data with Scanf
In my previous article I mentioned that OCaml’s Stdlib leaves a lot to be desire when it comes to regular expressions. One thing I didn’t discuss back then was that the problem is somewhat mitigate...
In my previous article I mentioned that OCaml’s Stdlib leaves a lot to be desire when it comes to regular expressions. One thing I didn’t discuss back then was that the problem is somewhat mitigate...
One of the things that bothered me initially in OCaml was the poor support for working in regular expressions in the standard library. Technically speaking, there’s no support for them at all! Wha...
If someone had told me a few months ago I’d be playing with .NET again after a 15+ years hiatus I probably would have laughed at this.1 Early on in my career I played with .NET and Java, and even t...
Often when I’m setting up new computers I take a bit of time to evaluate my programming toolbox and make some (usually small) adjustments to it. In January I got myself a new mac mini M4 and for wh...
Every programming language comes with some “batteries” included - mostly in the form of its standard library. That’s typically all of the functionality that’s available out-of-the-box, without the ...
I wasn’t an early adopter of TreeSitter in Emacs, as usually such big transitions are not smooth and the initial support for TreeSitter in Emacs left much to be desired. Recently, however, Emacs 30...
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...