repo.or.cz
/
sqlgg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wip to infer parameters type
[sqlgg.git]
/
props.ml
blob
443e16ade8f50059383ac467b499cc44bb00e428
1
(* $Id$ *)
2
3
(** Association list *)
4
type
t
= (
string
*
string
)
list
5
deriving
(
Show
)
6
7
let
get
x n
=
try
Some
(
List
.
assoc n x
)
with
Not_found
->
None
8
let
set
x n v
= (
n
,
v
)::(
List
.
remove_assoc n x
)
9
let
empty
= []