diff src/ur/feed.urs @ 3:ea0ca570c121

Shortcut tag combinators
author Adam Chlipala <adam@chlipala.net>
date Tue, 11 Jan 2011 14:19:51 -0500
parents 8de269c09617
children af95d9d73eb5
line wrap: on
line diff
--- a/src/ur/feed.urs	Tue Jan 11 14:05:34 2011 -0500
+++ b/src/ur/feed.urs	Tue Jan 11 14:19:51 2011 -0500
@@ -5,6 +5,10 @@
 val tag : attrs ::: {Unit} -> folder attrs -> string -> $(mapU string attrs)
           -> pattern (tagInternal attrs) {Attrs : $(mapU string attrs), Cdata : option string}
 
+val tagA : attrs ::: {Unit} -> folder attrs -> string -> $(mapU string attrs)
+          -> pattern (tagInternal attrs) $(mapU string attrs)
+val tagC : string -> pattern (tagInternal []) string
+
 con childrenInternal :: Type -> {Type} -> Type
 
 val children : parentI ::: Type -> parent ::: Type -> children ::: {(Type * Type)}