Skip to content

Instantly share code, notes, and snippets.

@michielmulders
Created May 30, 2018 19:27
Show Gist options
  • Save michielmulders/03948c01a673b5a3d62b8bce8b19696f to your computer and use it in GitHub Desktop.
Save michielmulders/03948c01a673b5a3d62b8bce8b19696f to your computer and use it in GitHub Desktop.
Rholang hello again input output
new HelloAgain in {
contract HelloAgain(_) = {
new chan in {
chan!("Hello again, world!") |
for (@text <- chan) { Nil }
}
} | HelloAgain!(Nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment