Hello. Is anybody here using Haskell source code blocks with Emacs org mode?
The org mode manual says, that I should set variable org-babel-do-load-languages to enable Haskell evaluation. However, my installation does not have this variable. I use org mode version 9.1.9 in Emacs 26.3. From reading the org mode release notes, I assume that org-babel-do-load-languages was added in version 7.01. Any ideas why the variable is missing in my installation?
Fortunately, I can still evaluate Haskell source code blocks when I add (require 'ob-haskell) to my Emacs dot file.
uses the org-babel-do-load-languagesfunction (which essentially
just sets org-babel-load-languages and (un)loads the libraries for the
requested languages) to achieve this.
Holy cow! You are absolutely right. This is the manual I was referring to and I mixed up the function name and the variable name. I have just customized the variable and it works like a charm.