From 8a5603e6370d42623c22ba966bc3cbb6082caf2e Mon Sep 17 00:00:00 2001 From: Folkert Kevelam Date: Tue, 3 Jun 2025 15:00:31 +0200 Subject: [PATCH] Initial commit --- SICP/exercise_1_42.janet | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 SICP/exercise_1_42.janet diff --git a/SICP/exercise_1_42.janet b/SICP/exercise_1_42.janet new file mode 100644 index 0000000..176d1a3 --- /dev/null +++ b/SICP/exercise_1_42.janet @@ -0,0 +1,6 @@ +(defn compose [f g] + (fn [x] (f (g x)))) + +(defn square [x] (* x x)) + +(print ((compose square inc) 6)) \ No newline at end of file