functor (E : Eq-> sig type a = E.a option val eq : a -> a -> bool end