Enumerable module for Swift language