Mercurial > urweb
annotate tests/test.urs @ 2203:39faa4a037f4
ML half of initial prototype. (Doesn't compile because there's no C yet.)
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Tue, 25 Mar 2014 02:04:06 -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 |