Mercurial > urweb
annotate demo/refFun.urs @ 838:5154a047c6bc
Lexing some more string escape sequences; JS versions of number read; fix problem with signature unification; escape < more often in Jscomp
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 02 Jun 2009 19:28:25 -0400 |
parents | cb5897276abf |
children |
rev | line source |
---|---|
adamc@419 | 1 functor Make(M : sig |
adamc@419 | 2 type data |
adamc@419 | 3 val inj : sql_injectable data |
adamc@419 | 4 end) : sig |
adamc@419 | 5 type ref |
adamc@419 | 6 val new : M.data -> transaction ref |
adamc@419 | 7 val read : ref -> transaction M.data |
adamc@419 | 8 val write : ref -> M.data -> transaction unit |
adamc@419 | 9 val delete : ref -> transaction unit |
adamc@419 | 10 end |