【文件属性】:
文件名称:require-haskell:需要NodeJS的haskell函数
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-06 06:40:15
JavaScript
需求-哈斯克尔
require-haskell让你require你的哈斯克尔模块,异步JavaScript功能。
例子
var requireH = require('require-haskell');
// You can now require haskell files with requireH just like you require javascript files using require.
var haskellFunction = requireH('/path/to/a/haskell/file.hs');
// Now you can call this function from your javascript code
haskellFunction('arguments', 'go', 'here', function(err, result){
【文件预览】:
require-haskell-master
----.travis.yml(129B)
----package.json(498B)
----LICENSE(1KB)
----require-haskell.js(703B)
----spec()
--------env.hs(110B)
--------echo.hs(76B)
--------support()
--------require-haskell()
--------hello.hs(22B)
----.gitignore(15B)
----README.md(3KB)