Created
May 2, 2018 23:32
-
-
Save derrh/6ed6252a933e38f1b04089165ff1a002 to your computer and use it in GitHub Desktop.
Hello, Silicon Slopes!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func format(date: Date) -> String { ... } | |
let dueDate = Date? | |
print(""" | |
Assignment | |
-- | |
due: \(dueDate.map(format(date:)) ?? "none") | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm, it looks like Github's syntax highlighting can't handle Swift 4 multi-line string literals.