0.0.0 • Published 10 years ago

runhaskell v0.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

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)