Apologies for the newbie question.
I really do try and figure things out for myself before coming here.
Why are open and close parens "()" needed after the close curly brace "}" on line 7, please?
The error message mentions a "function" but I don't know which function it is referring to - (Which function is it referring to?) - alls I see is a structure and a variable.
... and ... Why is there a "return" keyword in the middle of this variable in the middle of a structure.
As a bit of back story, I found this code in a bunch of instructor provided code that I was attempting to read and understand.
I do know that every character is important in code, and I came across these open and close parens and was wondering what syntactic service they were providing here.
(File: "Processing Data.playground" as part of the "teacher" zip file as part of "Develop in Swift Explorations.")
I tired to isolate the code as much as I could to pare down the issue, and I renamed "ShowsBuilder" to "ShowsBuilder2" to get rid of a redeclaration error.
Screen shots for reference :
...
...
Am I dealing with a "closure"? (This is my best guess at the moment.)
I looked up closures, but wasn't able to pattern match against them with this issue.
Thank you for your time.