diff demo/more/meta.urs @ 1008:1911e84df461

Move stuff from bulkEdit to meta
author Adam Chlipala <adamc@hcoop.net>
date Thu, 22 Oct 2009 11:51:31 -0400
parents d3af9e54c828
children 59097824f19b
line wrap: on
line diff
--- a/demo/more/meta.urs	Thu Oct 22 11:37:58 2009 -0400
+++ b/demo/more/meta.urs	Thu Oct 22 11:51:31 2009 -0400
@@ -15,3 +15,9 @@
 
 val allWidgets : ts ::: {(Type * Type)} -> $(map meta ts) -> folder ts
                  -> xml form [] (map snd ts)
+
+val allPopulatedTr : ts ::: {(Type * Type)} -> $(map meta ts) -> $(map fst ts) -> folder ts
+                     -> xml ([Tr] ++ form) [] (map snd ts)
+
+val ensql : avail ::: {{Type}} -> ts ::: {(Type * Type)} -> $(map meta ts) -> $(map snd ts) -> folder ts
+            -> $(map (sql_exp avail [] []) (map fst ts))