ccoin(Dime); Unix.sleep(1); cbutton(BCoffee); Unix.sleep(1); cbutton(BTea); Unix.sleep(1); cbutton(BCancel); Unix.sleep(1) (* let the last message show up *) ;; execution $ jocamlc example.ml -o test $ ./test Coffee Tea Refund 5 See also Join-calculus References External links The join-calculus language The JoCaml system Concurrent programming languages OCaml programming language family Programming languages created in the 1990s