- Rename "Aufgabe 5"->Aufgabe5 and "Aufgabe 6"->Aufgabe6; spaces broke bazel run (Aspect URL-encoding, scala/JVM launcher self-path). - Per-directory BUILD.bazel: Aufgabe5 (swift_binary), Aufgabe6 (swift_binary). - Aufgabe6/Third: Scala app via rules_scala (scala_library + scala_binary). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
7 lines
244 B
Swift
7 lines
244 B
Swift
import Foundation
|
|
|
|
print(studentAttendsCourse(studentName: "Petra", courses: courses))
|
|
print(studentAttendsCourse(studentName: "Peter", courses: courses))
|
|
|
|
let result = allowedToLeaveHome().unsafeRun()
|
|
print("Allowed to leave home: \(result)")
|