From 2a3732ba3baf3d6d50c87d965863c4c611033b39 Mon Sep 17 00:00:00 2001 From: David Sletten Date: Tue, 10 Dec 2024 01:10:35 -0500 Subject: [PATCH] Update difference_of_squares.clj The definition of the `difference` function must come last due to Clojure's single-pass compiler. --- .../difference-of-squares/src/difference_of_squares.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/practice/difference-of-squares/src/difference_of_squares.clj b/exercises/practice/difference-of-squares/src/difference_of_squares.clj index 5200bdcd..d9744756 100644 --- a/exercises/practice/difference-of-squares/src/difference_of_squares.clj +++ b/exercises/practice/difference-of-squares/src/difference_of_squares.clj @@ -1,13 +1,13 @@ (ns difference-of-squares) -(defn difference [] ;; <- arglist goes here +(defn sum-of-squares [] ;; <- arglist goes here ;; your code goes here ) -(defn sum-of-squares [] ;; <- arglist goes here +(defn square-of-sum [] ;; <- arglist goes here ;; your code goes here ) -(defn square-of-sum [] ;; <- arglist goes here +(defn difference [] ;; <- arglist goes here ;; your code goes here )