Learning about module patterns