From 15266399613581e437f9ee55598e9f7f7508373f Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Wed, 3 Jan 2024 02:08:38 -0300 Subject: [PATCH] utils: Add documentation to procedures --- modules/radix/utils.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/radix/utils.scm b/modules/radix/utils.scm index ed561ae..03ff89b 100644 --- a/modules/radix/utils.scm +++ b/modules/radix/utils.scm @@ -15,6 +15,9 @@ `(,@(map (cut cons <> association) keys) ...)) (define (flat-map proc . lsts) + "Returns a list containg every other application of PROC to a list where the +first element comes from the first list, the second element from the second +list, up to the last list." (match lsts ((head-lst) (map proc head-lst)) ((head-lst . tail-lsts)