Mercurial > urweb
annotate tests/test.urs @ 1469:a354b306f948
Explain how to signal an error in a commit handler
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 31 May 2011 09:14:03 -0400 |
parents | eac1974924bb |
children |
rev | line source |
---|---|
adamc@764 | 1 type t |
adamc@764 | 2 |
adamc@764 | 3 val create : string -> t |
adamc@764 | 4 val out : t -> string |
adamc@764 | 5 val frob : t -> string -> t |
adamc@765 | 6 val print : transaction unit |
adamc@766 | 7 |
adamc@766 | 8 val foo : transaction unit |
adamc@766 | 9 val bar : string -> transaction unit |
adamc@771 | 10 |
adamc@771 | 11 val transactional : transaction unit |