https://github.com/joelburget/haskell-loader
A webpack loader for Haskell (!)
https://github.com/joelburget/haskell-loader
Last synced: 5 months ago
JSON representation
A webpack loader for Haskell (!)
- Host: GitHub
- URL: https://github.com/joelburget/haskell-loader
- Owner: joelburget
- License: mit
- Created: 2015-02-22T21:56:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-23T00:33:28.000Z (almost 11 years ago)
- Last Synced: 2025-07-20T07:24:26.796Z (5 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webpack Haskell Loader
Yep, you heard right. Use JavaScript and Haskell together as seen in this [video](http://youtu.be/DyFcrJL6kxk).
## Usage
```javascript
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](http://haste-lang.org/) compiler
installed. My
[`commonjs`](https://github.com/joelburget/haste-compiler/tree/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.
## License
[MIT](http://www.opensource.org/licenses/mit-license.php)