diff style.urs @ 29:93140c5cc972

Clean up dependencies and examples; add Style module
author Adam Chlipala <adam@chlipala.net>
date Sat, 12 May 2012 10:03:44 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/style.urs	Sat May 12 10:03:44 2012 -0400
@@ -0,0 +1,9 @@
+class attr
+val attr_string : attr string
+val attr_int : attr int
+val attr_url : attr url
+val valu : t ::: Type -> attr t -> t -> css_value
+
+val prop1 : t ::: Type -> attr t -> string -> t -> css_style
+val prop : string -> list css_value -> css_style
+val props : list (string * list css_value) -> css_style