Update paths to prepare merge of extend-core.mal branch
authorNicolas Boulenguez <nicolas.boulenguez@free.fr>
Wed, 15 May 2019 16:01:35 +0000 (18:01 +0200)
committerNicolas Boulenguez <nicolas.boulenguez@free.fr>
Thu, 30 May 2019 14:46:04 +0000 (16:46 +0200)
docs/exercises.md
examples/exercises.mal

index aac6eb6..f56943d 100644 (file)
@@ -6,8 +6,8 @@ approach, you may want to solve the following exercises in the MAL
 language itself, using any of the existing implementations.
 
 You are encouraged to use the shortcuts defined in the step files
-(`not`...) and ``core.mal`` (`reduce`...) whenever you find that they
-increase the readability.
+(`not`...) and `the `lib/` subdirectory (`reduce`...) whenever you
+find that they increase the readability.
 
 The difficulty is progressive in each section, but they focus on
 related topics and it is recommended to start them in parallel.
index 247e050..d4793bf 100644 (file)
@@ -1,6 +1,7 @@
 ;; These are the answers to the questions in ../docs/exercise.md.
 
-(load-file "../core.mal")
+(load-file "../lib/folds.mal")          ; foldr reduce
+(load-file "../lib/trivial.mal")        ; dec identity
 
 (def! nil?   (fn* [x] (= x nil  )))
 (def! true?  (fn* [x] (= x true )))