let
rec
assq a =
function
|
[]
->
raise
Not_found
|
(x,y) :: xl
->
if
eq a x
then
y
else
assq a xl