[swift-users] Need better name, want to hide generator

Erica Sadun erica at ericasadun.com
Fri Dec 18 15:22:04 CST 2015


Source: http://swiftstub.com/788132715 <http://swiftstub.com/788132715>

Two questions:

1. Can anyone recommended a better name than Cartesian? 2D doesn't work for the compiler and I'm looking for something that doesn't seem "floating-point"-y
2. Is there a way to internalize the generator and not make it public? I'd ideally like to hide all details except the fact that this is a sequence of (Int, Int)

Thanks

-- Erica

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151218/0f5c0459/attachment.html>


More information about the swift-users mailing list