runhaskell

0.0.0 • Public • Published

runhaskell

For the joys project for calling haskell functions in node. Install with npm install runhaskell. Watch out for endless lists and other not terminating haskell programs.

Callback usage

var runhaskell = require('runhaskell')
runhaskell('sum $ map (+10) [1,2,3]',function (result) {
  console.log(result)
})

Streaming usage

  var runhaskell = require('runhaskell')
  runhaskell('[1..5]').pipe(process.stdout)

Readme

Keywords

Package Sidebar

Install

npm i runhaskell

Weekly Downloads

2

Version

0.0.0

License

MIT

Last publish

Collaborators

  • finnpauls