haskell-loader
haskell-loader copied to clipboard
A webpack loader for Haskell (!)
Webpack Haskell Loader
Yep, you heard right. Use JavaScript and Haskell together as seen in this video.
Usage
var hsModule = require("haskell!./file.hs");
Just as you'd expect, hsModule is an object holding all the symbols exported
from the haskell module.
As a prerequisite, you need the Haste compiler
installed. My
commonjs
branch, actually.
Stability
This is very early work and is quite unstable. It's an experiment, really. Please don't use it on anything you want to ship.