This library provides org-mode babel support for execution of Haskell code blocks using haskell-ng-mode.
You need to have ghc installed to use this extension.
(add-to-list 'load-path "/path/to/ob-haskell-ng.el")
(require 'ob-haskell-ng)
putStrLn "Hello World!"
Resolving dependencies... Build profile: -w ghc-9.4.7 -O1 In order, the following will be built (use -v for more details): - fake-package-0 (lib) (first run) Configuring library for fake-package-0.. Warning: No exposed modules GHCi, version 9.4.7: https://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /var/folders/h1/yhtz6g614_g999nh_tb4gj600000gn/T/cabal-repl.-29554/setcwd.ghci Hello World!