Skip to content

finnp/node-runhaskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Run Haskell code from node for fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published