Permalink
Browse files

Add an mli file for css

  • Loading branch information...
1 parent 0d94302 commit 35cc85b94c8f0220a50ac004ea7dcc1bd9212fb7 @samoht committed Nov 10, 2010
Showing with 38 additions and 0 deletions.
  1. +38 −0 css.mli
View
@@ -0,0 +1,38 @@
+(*
+ * Copyright (c) 2010 Thomas Gazagnaire <thomas@gazagnaire.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *)
+
+type t =
+ | String of string
+ | Decl of t * t
+ | Rule of t * t
+ | Fun of t * t
+ | Comma of t * t
+ | Seq of t * t
+ | Nil
+
+module Seq : sig
+ val t_of_list : t list -> t
+end
+
+module Comma : sig
+ val t_of_list : t list -> t
+end
+
+val to_string : t -> string
+
+val gradient : low:t -> high:t -> t
+
+val rounded: t

0 comments on commit 35cc85b

Please sign in to comment.