view demo/broadcast.urs @ 1906:0d2fdc2cc46c

Allow building in a separate build directory Signed-off-by: Anders Kaseorg <andersk@mit.edu> --- Makefile.am | 30 +++--- src/c/Makefile.am | 2 +- src/compiler.mlb | 2 +- src/sources | 302 +++++++++++++++++++++++++++--------------------------- 4 files changed, 168 insertions(+), 168 deletions(-)
author Anders Kaseorg <andersk@mit.edu>
date Fri, 22 Nov 2013 09:36:14 -0500
parents 4e260887d8f2
children
line wrap: on
line source
functor Make(M : sig type t end) : sig
    type topic

    val inj : sql_injectable topic

    val create : transaction topic
    val subscribe : topic -> transaction (channel M.t)
    val send : topic -> M.t -> transaction unit

    val subscribers : topic -> transaction int
end