// Demo Swift source bundled with the Explore sample files. It does not
// compile against any particular framework -- it exists purely so the
// file manager has a representative Swift file to render.

import Foundation

struct Greeting {
    let recipient: String

    func render() -> String {
        "Hello, \(recipient)!"
    }
}

let greetings = ["Explore", "Reviewer", "World"].map(Greeting.init).map { $0.render() }
greetings.forEach { print($0) }
