From 4ce29a476f2f02448db865787b55037b7b10da69 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 20 Oct 2009 12:48:53 -0400 Subject: Start of user management --- demo/more/meta.urs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 demo/more/meta.urs (limited to 'demo/more/meta.urs') diff --git a/demo/more/meta.urs b/demo/more/meta.urs new file mode 100644 index 00000000..d4d626c5 --- /dev/null +++ b/demo/more/meta.urs @@ -0,0 +1,12 @@ +con meta = fn (db :: Type, widget :: Type) => + {Nam : string, + Show : db -> xbody, + Widget : nm :: Name -> xml form [] [nm = widget], + WidgetPopulated : nm :: Name -> db -> xml form [] [nm = widget], + Parse : widget -> db, + Inject : sql_injectable db} + +val int : string -> meta (int, string) +val float : string -> meta (float, string) +val string : string -> meta (string, string) +val bool : string -> meta (bool, bool) -- cgit v1.2.3