2

Is there an egg or some library that would allow me to write CSP style programs in Scheme? By CSP style I mean what's implemented in Go (go/channel/select) or Clojure's core.async.

1

2 Answers 2

2

Chicken Scheme has a channel egg that you could try out.

$ chicken-install -s channel
2

Chicken now also has a gochan egg (which I wrote). It's much simpler than channel, but channel seems to be a little complex and I'm unsure of how well it has been tested.

$ chicken-install -s gochan
$ csi -R gochan -p '(gochan-receive (gochan "hello world"))'
hello world

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.