updated .mli to replace "enum" with "gen"