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
web page is managed elsewhere
[sqlgg.git]
/
src
/
props.ml
blob
b8557f3311e61bbd6875d2b508aef137d4757a6a
1
(** Association list *)
2
type
t
= (
string
*
string
)
list
3
deriving
(
Show
)
4
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
= []