noparse attribute
[sqlgg.git] / props.ml
blobb8557f3311e61bbd6875d2b508aef137d4757a6a
1 (** Association list *)
2 type t = (string * string) list
3 deriving (Show)
5 let get x n = try Some (List.assoc n x) with Not_found -> None
6 let set x n v = (n,v)::(List.remove_assoc n x)
7 let empty = []