EXMP : added an opaquefile example
ENH : made trait mapping more general for integers