Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (6 sloc) 349 Bytes

Summary

This is a very simple demo of Opa. It just shows a header "Hello, world" and upon clicking the header it informs the user how many times it was cliked so far.

Compile and run with:

opa hello-opa.opa --

More about this example in Opa manual, chapter Hello, database.