From c77d48134da9345c4afe49f324335f042bce95ba Mon Sep 17 00:00:00 2001 From: Jasdev Singh Date: Tue, 30 Jul 2019 09:33:37 -0400 Subject: [PATCH] Adds missing exercise from Episode 6 to its playground file. (#28) --- .../Pages/02-Exercises.xcplaygroundpage/Contents.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/0006-functional-setters/Functional Setters.playground/Pages/02-Exercises.xcplaygroundpage/Contents.swift b/0006-functional-setters/Functional Setters.playground/Pages/02-Exercises.xcplaygroundpage/Contents.swift index 8bcb4e5b..08022755 100644 --- a/0006-functional-setters/Functional Setters.playground/Pages/02-Exercises.xcplaygroundpage/Contents.swift +++ b/0006-functional-setters/Functional Setters.playground/Pages/02-Exercises.xcplaygroundpage/Contents.swift @@ -27,6 +27,10 @@ struct Location { */ // TODO /*: - 6. What is the difference between a function of the form `((A) -> B) -> (C) -> (D)` and one of the form `(A) -> (B) -> (C) -> D`? + 6. Write a setter for a dictionary that traverses into a key to set a value if and only if that value already exists. + */ +// TODO +/*: + 7. What is the difference between a function of the form `((A) -> B) -> (C) -> (D)` and one of the form `(A) -> (B) -> (C) -> D`? */ // TODO