summaryrefslogtreecommitdiff
path: root/demo/more/meta.urs
diff options
context:
space:
mode:
Diffstat (limited to 'demo/more/meta.urs')
-rw-r--r--demo/more/meta.urs6
1 files changed, 6 insertions, 0 deletions
diff --git a/demo/more/meta.urs b/demo/more/meta.urs
index 17e8a9f3..e949e5ee 100644
--- a/demo/more/meta.urs
+++ b/demo/more/meta.urs
@@ -15,3 +15,9 @@ val textarea : string -> meta (string, string)
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))