aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsher Harvey-Smith <asherharveysmith@gmail.com>2025-10-17 13:17:42 +0100
committerAsher Harvey-Smith <asherharveysmith@gmail.com>2025-10-17 13:17:42 +0100
commita6e254d5397b0b177cc94bd16d9a79b3ffa6484a (patch)
tree97c470c3158c266f304f8b9597bd7196589fd3a9
parenta57b4eb0934da5439d1a7a757244c932d8c0f564 (diff)
downloadperlweeklychallenge-club-a6e254d5397b0b177cc94bd16d9a79b3ffa6484a.tar.gz
perlweeklychallenge-club-a6e254d5397b0b177cc94bd16d9a79b3ffa6484a.tar.bz2
perlweeklychallenge-club-a6e254d5397b0b177cc94bd16d9a79b3ffa6484a.zip
formatting tweak
-rw-r--r--challenge-343/asherbhs/hy/ch-1.hy4
1 files changed, 3 insertions, 1 deletions
diff --git a/challenge-343/asherbhs/hy/ch-1.hy b/challenge-343/asherbhs/hy/ch-1.hy
index 985d3e54a3..7571b87991 100644
--- a/challenge-343/asherbhs/hy/ch-1.hy
+++ b/challenge-343/asherbhs/hy/ch-1.hy
@@ -1,4 +1,6 @@
-(defn zero-friend [nums] (min (map abs nums)))
+(defn zero-friend [nums]
+ (min (map abs nums))
+)
(print (zero-friend [4 2 -1 3 -2]))
(print (zero-friend [-5 5 -3 3 -1 1]))